generativeai

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DedicatedAiCluster

type DedicatedAiCluster struct {
	pulumi.CustomResourceState

	// The total capacity for a dedicated AI cluster.
	Capacities DedicatedAiClusterCapacityArrayOutput `pulumi:"capacities"`
	// (Updatable) The compartment OCID to create the dedicated AI cluster in.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) An optional description of the dedicated AI cluster.
	Description pulumi.StringOutput `pulumi:"description"`
	// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// A message describing the current state with detail that can provide actionable information.
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// The current state of the dedicated AI cluster.
	State pulumi.StringOutput `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapOutput `pulumi:"systemTags"`
	// The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
	// The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
	//
	// Allowed values are:
	// * HOSTING
	// * FINE_TUNING
	Type pulumi.StringOutput `pulumi:"type"`
	// (Updatable) The number of dedicated units in this AI cluster.
	UnitCount pulumi.IntOutput `pulumi:"unitCount"`
	// The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
	//
	// Allowed values are:
	// * LARGE_COHERE
	// * SMALL_COHERE
	// * EMBED_COHERE
	// * LLAMA2_70
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	UnitShape pulumi.StringOutput `pulumi:"unitShape"`
}

This resource provides the Dedicated Ai Cluster resource in Oracle Cloud Infrastructure Generative Ai service.

Creates a dedicated AI cluster.

## Example Usage

```go 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.NewDedicatedAiCluster(ctx, "test_dedicated_ai_cluster", &GenerativeAi.DedicatedAiClusterArgs{
			CompartmentId: pulumi.Any(compartmentId),
			Type:          pulumi.Any(dedicatedAiClusterType),
			UnitCount:     pulumi.Any(dedicatedAiClusterUnitCount),
			UnitShape:     pulumi.Any(dedicatedAiClusterUnitShape),
			DefinedTags: pulumi.Map{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			Description: pulumi.Any(dedicatedAiClusterDescription),
			DisplayName: pulumi.Any(dedicatedAiClusterDisplayName),
			FreeformTags: pulumi.Map{
				"Department": pulumi.Any("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DedicatedAiClusters can be imported using the `id`, e.g.

```sh $ pulumi import oci:GenerativeAi/dedicatedAiCluster:DedicatedAiCluster test_dedicated_ai_cluster "id" ```

func GetDedicatedAiCluster

func GetDedicatedAiCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DedicatedAiClusterState, opts ...pulumi.ResourceOption) (*DedicatedAiCluster, error)

GetDedicatedAiCluster gets an existing DedicatedAiCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDedicatedAiCluster

func NewDedicatedAiCluster(ctx *pulumi.Context,
	name string, args *DedicatedAiClusterArgs, opts ...pulumi.ResourceOption) (*DedicatedAiCluster, error)

NewDedicatedAiCluster registers a new resource with the given unique name, arguments, and options.

func (*DedicatedAiCluster) ElementType

func (*DedicatedAiCluster) ElementType() reflect.Type

func (*DedicatedAiCluster) ToDedicatedAiClusterOutput

func (i *DedicatedAiCluster) ToDedicatedAiClusterOutput() DedicatedAiClusterOutput

func (*DedicatedAiCluster) ToDedicatedAiClusterOutputWithContext

func (i *DedicatedAiCluster) ToDedicatedAiClusterOutputWithContext(ctx context.Context) DedicatedAiClusterOutput

type DedicatedAiClusterArgs

type DedicatedAiClusterArgs struct {
	// (Updatable) The compartment OCID to create the dedicated AI cluster in.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) An optional description of the dedicated AI cluster.
	Description pulumi.StringPtrInput
	// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName pulumi.StringPtrInput
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
	//
	// Allowed values are:
	// * HOSTING
	// * FINE_TUNING
	Type pulumi.StringInput
	// (Updatable) The number of dedicated units in this AI cluster.
	UnitCount pulumi.IntInput
	// The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
	//
	// Allowed values are:
	// * LARGE_COHERE
	// * SMALL_COHERE
	// * EMBED_COHERE
	// * LLAMA2_70
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	UnitShape pulumi.StringInput
}

The set of arguments for constructing a DedicatedAiCluster resource.

func (DedicatedAiClusterArgs) ElementType

func (DedicatedAiClusterArgs) ElementType() reflect.Type

type DedicatedAiClusterArray

type DedicatedAiClusterArray []DedicatedAiClusterInput

func (DedicatedAiClusterArray) ElementType

func (DedicatedAiClusterArray) ElementType() reflect.Type

func (DedicatedAiClusterArray) ToDedicatedAiClusterArrayOutput

func (i DedicatedAiClusterArray) ToDedicatedAiClusterArrayOutput() DedicatedAiClusterArrayOutput

func (DedicatedAiClusterArray) ToDedicatedAiClusterArrayOutputWithContext

func (i DedicatedAiClusterArray) ToDedicatedAiClusterArrayOutputWithContext(ctx context.Context) DedicatedAiClusterArrayOutput

type DedicatedAiClusterArrayInput

type DedicatedAiClusterArrayInput interface {
	pulumi.Input

	ToDedicatedAiClusterArrayOutput() DedicatedAiClusterArrayOutput
	ToDedicatedAiClusterArrayOutputWithContext(context.Context) DedicatedAiClusterArrayOutput
}

DedicatedAiClusterArrayInput is an input type that accepts DedicatedAiClusterArray and DedicatedAiClusterArrayOutput values. You can construct a concrete instance of `DedicatedAiClusterArrayInput` via:

DedicatedAiClusterArray{ DedicatedAiClusterArgs{...} }

type DedicatedAiClusterArrayOutput

type DedicatedAiClusterArrayOutput struct{ *pulumi.OutputState }

func (DedicatedAiClusterArrayOutput) ElementType

func (DedicatedAiClusterArrayOutput) Index

func (DedicatedAiClusterArrayOutput) ToDedicatedAiClusterArrayOutput

func (o DedicatedAiClusterArrayOutput) ToDedicatedAiClusterArrayOutput() DedicatedAiClusterArrayOutput

func (DedicatedAiClusterArrayOutput) ToDedicatedAiClusterArrayOutputWithContext

func (o DedicatedAiClusterArrayOutput) ToDedicatedAiClusterArrayOutputWithContext(ctx context.Context) DedicatedAiClusterArrayOutput

type DedicatedAiClusterCapacity

type DedicatedAiClusterCapacity struct {
	// The type of the dedicated AI cluster capacity.
	CapacityType *string `pulumi:"capacityType"`
	// The total number of endpoints that can be hosted on this dedicated AI cluster.
	TotalEndpointCapacity *int `pulumi:"totalEndpointCapacity"`
	// The number of endpoints hosted on this dedicated AI cluster.
	UsedEndpointCapacity *int `pulumi:"usedEndpointCapacity"`
}

type DedicatedAiClusterCapacityArgs

type DedicatedAiClusterCapacityArgs struct {
	// The type of the dedicated AI cluster capacity.
	CapacityType pulumi.StringPtrInput `pulumi:"capacityType"`
	// The total number of endpoints that can be hosted on this dedicated AI cluster.
	TotalEndpointCapacity pulumi.IntPtrInput `pulumi:"totalEndpointCapacity"`
	// The number of endpoints hosted on this dedicated AI cluster.
	UsedEndpointCapacity pulumi.IntPtrInput `pulumi:"usedEndpointCapacity"`
}

func (DedicatedAiClusterCapacityArgs) ElementType

func (DedicatedAiClusterCapacityArgs) ToDedicatedAiClusterCapacityOutput

func (i DedicatedAiClusterCapacityArgs) ToDedicatedAiClusterCapacityOutput() DedicatedAiClusterCapacityOutput

func (DedicatedAiClusterCapacityArgs) ToDedicatedAiClusterCapacityOutputWithContext

func (i DedicatedAiClusterCapacityArgs) ToDedicatedAiClusterCapacityOutputWithContext(ctx context.Context) DedicatedAiClusterCapacityOutput

type DedicatedAiClusterCapacityArray

type DedicatedAiClusterCapacityArray []DedicatedAiClusterCapacityInput

func (DedicatedAiClusterCapacityArray) ElementType

func (DedicatedAiClusterCapacityArray) ToDedicatedAiClusterCapacityArrayOutput

func (i DedicatedAiClusterCapacityArray) ToDedicatedAiClusterCapacityArrayOutput() DedicatedAiClusterCapacityArrayOutput

func (DedicatedAiClusterCapacityArray) ToDedicatedAiClusterCapacityArrayOutputWithContext

func (i DedicatedAiClusterCapacityArray) ToDedicatedAiClusterCapacityArrayOutputWithContext(ctx context.Context) DedicatedAiClusterCapacityArrayOutput

type DedicatedAiClusterCapacityArrayInput

type DedicatedAiClusterCapacityArrayInput interface {
	pulumi.Input

	ToDedicatedAiClusterCapacityArrayOutput() DedicatedAiClusterCapacityArrayOutput
	ToDedicatedAiClusterCapacityArrayOutputWithContext(context.Context) DedicatedAiClusterCapacityArrayOutput
}

DedicatedAiClusterCapacityArrayInput is an input type that accepts DedicatedAiClusterCapacityArray and DedicatedAiClusterCapacityArrayOutput values. You can construct a concrete instance of `DedicatedAiClusterCapacityArrayInput` via:

DedicatedAiClusterCapacityArray{ DedicatedAiClusterCapacityArgs{...} }

type DedicatedAiClusterCapacityArrayOutput

type DedicatedAiClusterCapacityArrayOutput struct{ *pulumi.OutputState }

func (DedicatedAiClusterCapacityArrayOutput) ElementType

func (DedicatedAiClusterCapacityArrayOutput) Index

func (DedicatedAiClusterCapacityArrayOutput) ToDedicatedAiClusterCapacityArrayOutput

func (o DedicatedAiClusterCapacityArrayOutput) ToDedicatedAiClusterCapacityArrayOutput() DedicatedAiClusterCapacityArrayOutput

func (DedicatedAiClusterCapacityArrayOutput) ToDedicatedAiClusterCapacityArrayOutputWithContext

func (o DedicatedAiClusterCapacityArrayOutput) ToDedicatedAiClusterCapacityArrayOutputWithContext(ctx context.Context) DedicatedAiClusterCapacityArrayOutput

type DedicatedAiClusterCapacityInput

type DedicatedAiClusterCapacityInput interface {
	pulumi.Input

	ToDedicatedAiClusterCapacityOutput() DedicatedAiClusterCapacityOutput
	ToDedicatedAiClusterCapacityOutputWithContext(context.Context) DedicatedAiClusterCapacityOutput
}

DedicatedAiClusterCapacityInput is an input type that accepts DedicatedAiClusterCapacityArgs and DedicatedAiClusterCapacityOutput values. You can construct a concrete instance of `DedicatedAiClusterCapacityInput` via:

DedicatedAiClusterCapacityArgs{...}

type DedicatedAiClusterCapacityOutput

type DedicatedAiClusterCapacityOutput struct{ *pulumi.OutputState }

func (DedicatedAiClusterCapacityOutput) CapacityType

The type of the dedicated AI cluster capacity.

func (DedicatedAiClusterCapacityOutput) ElementType

func (DedicatedAiClusterCapacityOutput) ToDedicatedAiClusterCapacityOutput

func (o DedicatedAiClusterCapacityOutput) ToDedicatedAiClusterCapacityOutput() DedicatedAiClusterCapacityOutput

func (DedicatedAiClusterCapacityOutput) ToDedicatedAiClusterCapacityOutputWithContext

func (o DedicatedAiClusterCapacityOutput) ToDedicatedAiClusterCapacityOutputWithContext(ctx context.Context) DedicatedAiClusterCapacityOutput

func (DedicatedAiClusterCapacityOutput) TotalEndpointCapacity

func (o DedicatedAiClusterCapacityOutput) TotalEndpointCapacity() pulumi.IntPtrOutput

The total number of endpoints that can be hosted on this dedicated AI cluster.

func (DedicatedAiClusterCapacityOutput) UsedEndpointCapacity

func (o DedicatedAiClusterCapacityOutput) UsedEndpointCapacity() pulumi.IntPtrOutput

The number of endpoints hosted on this dedicated AI cluster.

type DedicatedAiClusterInput

type DedicatedAiClusterInput interface {
	pulumi.Input

	ToDedicatedAiClusterOutput() DedicatedAiClusterOutput
	ToDedicatedAiClusterOutputWithContext(ctx context.Context) DedicatedAiClusterOutput
}

type DedicatedAiClusterMap

type DedicatedAiClusterMap map[string]DedicatedAiClusterInput

func (DedicatedAiClusterMap) ElementType

func (DedicatedAiClusterMap) ElementType() reflect.Type

func (DedicatedAiClusterMap) ToDedicatedAiClusterMapOutput

func (i DedicatedAiClusterMap) ToDedicatedAiClusterMapOutput() DedicatedAiClusterMapOutput

func (DedicatedAiClusterMap) ToDedicatedAiClusterMapOutputWithContext

func (i DedicatedAiClusterMap) ToDedicatedAiClusterMapOutputWithContext(ctx context.Context) DedicatedAiClusterMapOutput

type DedicatedAiClusterMapInput

type DedicatedAiClusterMapInput interface {
	pulumi.Input

	ToDedicatedAiClusterMapOutput() DedicatedAiClusterMapOutput
	ToDedicatedAiClusterMapOutputWithContext(context.Context) DedicatedAiClusterMapOutput
}

DedicatedAiClusterMapInput is an input type that accepts DedicatedAiClusterMap and DedicatedAiClusterMapOutput values. You can construct a concrete instance of `DedicatedAiClusterMapInput` via:

DedicatedAiClusterMap{ "key": DedicatedAiClusterArgs{...} }

type DedicatedAiClusterMapOutput

type DedicatedAiClusterMapOutput struct{ *pulumi.OutputState }

func (DedicatedAiClusterMapOutput) ElementType

func (DedicatedAiClusterMapOutput) MapIndex

func (DedicatedAiClusterMapOutput) ToDedicatedAiClusterMapOutput

func (o DedicatedAiClusterMapOutput) ToDedicatedAiClusterMapOutput() DedicatedAiClusterMapOutput

func (DedicatedAiClusterMapOutput) ToDedicatedAiClusterMapOutputWithContext

func (o DedicatedAiClusterMapOutput) ToDedicatedAiClusterMapOutputWithContext(ctx context.Context) DedicatedAiClusterMapOutput

type DedicatedAiClusterOutput

type DedicatedAiClusterOutput struct{ *pulumi.OutputState }

func (DedicatedAiClusterOutput) Capacities

The total capacity for a dedicated AI cluster.

func (DedicatedAiClusterOutput) CompartmentId

func (o DedicatedAiClusterOutput) CompartmentId() pulumi.StringOutput

(Updatable) The compartment OCID to create the dedicated AI cluster in.

func (DedicatedAiClusterOutput) DefinedTags

func (o DedicatedAiClusterOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (DedicatedAiClusterOutput) Description

(Updatable) An optional description of the dedicated AI cluster.

func (DedicatedAiClusterOutput) DisplayName

(Updatable) A user-friendly name. Does not have to be unique, and it's changeable.

func (DedicatedAiClusterOutput) ElementType

func (DedicatedAiClusterOutput) ElementType() reflect.Type

func (DedicatedAiClusterOutput) FreeformTags

func (o DedicatedAiClusterOutput) FreeformTags() pulumi.MapOutput

(Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (DedicatedAiClusterOutput) LifecycleDetails

func (o DedicatedAiClusterOutput) LifecycleDetails() pulumi.StringOutput

A message describing the current state with detail that can provide actionable information.

func (DedicatedAiClusterOutput) State

The current state of the dedicated AI cluster.

func (DedicatedAiClusterOutput) SystemTags

func (o DedicatedAiClusterOutput) SystemTags() pulumi.MapOutput

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (DedicatedAiClusterOutput) TimeCreated

The date and time the dedicated AI cluster was created, in the format defined by RFC 3339

func (DedicatedAiClusterOutput) TimeUpdated

The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339

func (DedicatedAiClusterOutput) ToDedicatedAiClusterOutput

func (o DedicatedAiClusterOutput) ToDedicatedAiClusterOutput() DedicatedAiClusterOutput

func (DedicatedAiClusterOutput) ToDedicatedAiClusterOutputWithContext

func (o DedicatedAiClusterOutput) ToDedicatedAiClusterOutputWithContext(ctx context.Context) DedicatedAiClusterOutput

func (DedicatedAiClusterOutput) Type

The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

Allowed values are: * HOSTING * FINE_TUNING

func (DedicatedAiClusterOutput) UnitCount

(Updatable) The number of dedicated units in this AI cluster.

func (DedicatedAiClusterOutput) UnitShape

The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.

Allowed values are: * LARGE_COHERE * SMALL_COHERE * EMBED_COHERE * LLAMA2_70

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

type DedicatedAiClusterState

type DedicatedAiClusterState struct {
	// The total capacity for a dedicated AI cluster.
	Capacities DedicatedAiClusterCapacityArrayInput
	// (Updatable) The compartment OCID to create the dedicated AI cluster in.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) An optional description of the dedicated AI cluster.
	Description pulumi.StringPtrInput
	// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName pulumi.StringPtrInput
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// A message describing the current state with detail that can provide actionable information.
	LifecycleDetails pulumi.StringPtrInput
	// The current state of the dedicated AI cluster.
	State pulumi.StringPtrInput
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput
	// The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
	TimeCreated pulumi.StringPtrInput
	// The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
	TimeUpdated pulumi.StringPtrInput
	// The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
	//
	// Allowed values are:
	// * HOSTING
	// * FINE_TUNING
	Type pulumi.StringPtrInput
	// (Updatable) The number of dedicated units in this AI cluster.
	UnitCount pulumi.IntPtrInput
	// The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
	//
	// Allowed values are:
	// * LARGE_COHERE
	// * SMALL_COHERE
	// * EMBED_COHERE
	// * LLAMA2_70
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	UnitShape pulumi.StringPtrInput
}

func (DedicatedAiClusterState) ElementType

func (DedicatedAiClusterState) ElementType() reflect.Type

type Endpoint

type Endpoint struct {
	pulumi.CustomResourceState

	// (Updatable) The compartment OCID to create the endpoint in.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
	ContentModerationConfig EndpointContentModerationConfigOutput `pulumi:"contentModerationConfig"`
	// The OCID of the dedicated AI cluster on which a model will be deployed to.
	DedicatedAiClusterId pulumi.StringOutput `pulumi:"dedicatedAiClusterId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) An optional description of the endpoint.
	Description pulumi.StringOutput `pulumi:"description"`
	// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// A message describing the current state of the endpoint in more detail that can provide actionable information.
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// The ID of the model that's used to create this endpoint.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ModelId pulumi.StringOutput `pulumi:"modelId"`
	// The current state of the endpoint.
	State pulumi.StringOutput `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapOutput `pulumi:"systemTags"`
	// The date and time that the endpoint was created in the format of an RFC3339 datetime string.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Endpoint resource in Oracle Cloud Infrastructure Generative Ai service.

Creates an endpoint.

The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the endpoint creation progress.

## Example Usage

```go 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.NewEndpoint(ctx, "test_endpoint", &GenerativeAi.EndpointArgs{
			CompartmentId:        pulumi.Any(compartmentId),
			DedicatedAiClusterId: pulumi.Any(testDedicatedAiCluster.Id),
			ModelId:              pulumi.Any(testModel.Id),
			ContentModerationConfig: &generativeai.EndpointContentModerationConfigArgs{
				IsEnabled: pulumi.Any(endpointContentModerationConfigIsEnabled),
			},
			DefinedTags: pulumi.Map{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			Description: pulumi.Any(endpointDescription),
			DisplayName: pulumi.Any(endpointDisplayName),
			FreeformTags: pulumi.Map{
				"Department": pulumi.Any("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Endpoints can be imported using the `id`, e.g.

```sh $ pulumi import oci:GenerativeAi/endpoint:Endpoint test_endpoint "id" ```

func GetEndpoint

func GetEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)

GetEndpoint gets an existing Endpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpoint

func NewEndpoint(ctx *pulumi.Context,
	name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)

NewEndpoint registers a new resource with the given unique name, arguments, and options.

func (*Endpoint) ElementType

func (*Endpoint) ElementType() reflect.Type

func (*Endpoint) ToEndpointOutput

func (i *Endpoint) ToEndpointOutput() EndpointOutput

func (*Endpoint) ToEndpointOutputWithContext

func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointArgs

type EndpointArgs struct {
	// (Updatable) The compartment OCID to create the endpoint in.
	CompartmentId pulumi.StringInput
	// (Updatable) The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
	ContentModerationConfig EndpointContentModerationConfigPtrInput
	// The OCID of the dedicated AI cluster on which a model will be deployed to.
	DedicatedAiClusterId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) An optional description of the endpoint.
	Description pulumi.StringPtrInput
	// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName pulumi.StringPtrInput
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// The ID of the model that's used to create this endpoint.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ModelId pulumi.StringInput
}

The set of arguments for constructing a Endpoint resource.

func (EndpointArgs) ElementType

func (EndpointArgs) ElementType() reflect.Type

type EndpointArray

type EndpointArray []EndpointInput

func (EndpointArray) ElementType

func (EndpointArray) ElementType() reflect.Type

func (EndpointArray) ToEndpointArrayOutput

func (i EndpointArray) ToEndpointArrayOutput() EndpointArrayOutput

func (EndpointArray) ToEndpointArrayOutputWithContext

func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput

type EndpointArrayInput

type EndpointArrayInput interface {
	pulumi.Input

	ToEndpointArrayOutput() EndpointArrayOutput
	ToEndpointArrayOutputWithContext(context.Context) EndpointArrayOutput
}

EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. You can construct a concrete instance of `EndpointArrayInput` via:

EndpointArray{ EndpointArgs{...} }

type EndpointArrayOutput

type EndpointArrayOutput struct{ *pulumi.OutputState }

func (EndpointArrayOutput) ElementType

func (EndpointArrayOutput) ElementType() reflect.Type

func (EndpointArrayOutput) Index

func (EndpointArrayOutput) ToEndpointArrayOutput

func (o EndpointArrayOutput) ToEndpointArrayOutput() EndpointArrayOutput

func (EndpointArrayOutput) ToEndpointArrayOutputWithContext

func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput

type EndpointContentModerationConfig

type EndpointContentModerationConfig struct {
	// (Updatable) Whether to enable the content moderation feature.
	IsEnabled bool `pulumi:"isEnabled"`
}

type EndpointContentModerationConfigArgs

type EndpointContentModerationConfigArgs struct {
	// (Updatable) Whether to enable the content moderation feature.
	IsEnabled pulumi.BoolInput `pulumi:"isEnabled"`
}

func (EndpointContentModerationConfigArgs) ElementType

func (EndpointContentModerationConfigArgs) ToEndpointContentModerationConfigOutput

func (i EndpointContentModerationConfigArgs) ToEndpointContentModerationConfigOutput() EndpointContentModerationConfigOutput

func (EndpointContentModerationConfigArgs) ToEndpointContentModerationConfigOutputWithContext

func (i EndpointContentModerationConfigArgs) ToEndpointContentModerationConfigOutputWithContext(ctx context.Context) EndpointContentModerationConfigOutput

func (EndpointContentModerationConfigArgs) ToEndpointContentModerationConfigPtrOutput

func (i EndpointContentModerationConfigArgs) ToEndpointContentModerationConfigPtrOutput() EndpointContentModerationConfigPtrOutput

func (EndpointContentModerationConfigArgs) ToEndpointContentModerationConfigPtrOutputWithContext

func (i EndpointContentModerationConfigArgs) ToEndpointContentModerationConfigPtrOutputWithContext(ctx context.Context) EndpointContentModerationConfigPtrOutput

type EndpointContentModerationConfigInput

type EndpointContentModerationConfigInput interface {
	pulumi.Input

	ToEndpointContentModerationConfigOutput() EndpointContentModerationConfigOutput
	ToEndpointContentModerationConfigOutputWithContext(context.Context) EndpointContentModerationConfigOutput
}

EndpointContentModerationConfigInput is an input type that accepts EndpointContentModerationConfigArgs and EndpointContentModerationConfigOutput values. You can construct a concrete instance of `EndpointContentModerationConfigInput` via:

EndpointContentModerationConfigArgs{...}

type EndpointContentModerationConfigOutput

type EndpointContentModerationConfigOutput struct{ *pulumi.OutputState }

func (EndpointContentModerationConfigOutput) ElementType

func (EndpointContentModerationConfigOutput) IsEnabled

(Updatable) Whether to enable the content moderation feature.

func (EndpointContentModerationConfigOutput) ToEndpointContentModerationConfigOutput

func (o EndpointContentModerationConfigOutput) ToEndpointContentModerationConfigOutput() EndpointContentModerationConfigOutput

func (EndpointContentModerationConfigOutput) ToEndpointContentModerationConfigOutputWithContext

func (o EndpointContentModerationConfigOutput) ToEndpointContentModerationConfigOutputWithContext(ctx context.Context) EndpointContentModerationConfigOutput

func (EndpointContentModerationConfigOutput) ToEndpointContentModerationConfigPtrOutput

func (o EndpointContentModerationConfigOutput) ToEndpointContentModerationConfigPtrOutput() EndpointContentModerationConfigPtrOutput

func (EndpointContentModerationConfigOutput) ToEndpointContentModerationConfigPtrOutputWithContext

func (o EndpointContentModerationConfigOutput) ToEndpointContentModerationConfigPtrOutputWithContext(ctx context.Context) EndpointContentModerationConfigPtrOutput

type EndpointContentModerationConfigPtrInput

type EndpointContentModerationConfigPtrInput interface {
	pulumi.Input

	ToEndpointContentModerationConfigPtrOutput() EndpointContentModerationConfigPtrOutput
	ToEndpointContentModerationConfigPtrOutputWithContext(context.Context) EndpointContentModerationConfigPtrOutput
}

EndpointContentModerationConfigPtrInput is an input type that accepts EndpointContentModerationConfigArgs, EndpointContentModerationConfigPtr and EndpointContentModerationConfigPtrOutput values. You can construct a concrete instance of `EndpointContentModerationConfigPtrInput` via:

        EndpointContentModerationConfigArgs{...}

or:

        nil

type EndpointContentModerationConfigPtrOutput

type EndpointContentModerationConfigPtrOutput struct{ *pulumi.OutputState }

func (EndpointContentModerationConfigPtrOutput) Elem

func (EndpointContentModerationConfigPtrOutput) ElementType

func (EndpointContentModerationConfigPtrOutput) IsEnabled

(Updatable) Whether to enable the content moderation feature.

func (EndpointContentModerationConfigPtrOutput) ToEndpointContentModerationConfigPtrOutput

func (o EndpointContentModerationConfigPtrOutput) ToEndpointContentModerationConfigPtrOutput() EndpointContentModerationConfigPtrOutput

func (EndpointContentModerationConfigPtrOutput) ToEndpointContentModerationConfigPtrOutputWithContext

func (o EndpointContentModerationConfigPtrOutput) ToEndpointContentModerationConfigPtrOutputWithContext(ctx context.Context) EndpointContentModerationConfigPtrOutput

type EndpointInput

type EndpointInput interface {
	pulumi.Input

	ToEndpointOutput() EndpointOutput
	ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
}

type EndpointMap

type EndpointMap map[string]EndpointInput

func (EndpointMap) ElementType

func (EndpointMap) ElementType() reflect.Type

func (EndpointMap) ToEndpointMapOutput

func (i EndpointMap) ToEndpointMapOutput() EndpointMapOutput

func (EndpointMap) ToEndpointMapOutputWithContext

func (i EndpointMap) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput

type EndpointMapInput

type EndpointMapInput interface {
	pulumi.Input

	ToEndpointMapOutput() EndpointMapOutput
	ToEndpointMapOutputWithContext(context.Context) EndpointMapOutput
}

EndpointMapInput is an input type that accepts EndpointMap and EndpointMapOutput values. You can construct a concrete instance of `EndpointMapInput` via:

EndpointMap{ "key": EndpointArgs{...} }

type EndpointMapOutput

type EndpointMapOutput struct{ *pulumi.OutputState }

func (EndpointMapOutput) ElementType

func (EndpointMapOutput) ElementType() reflect.Type

func (EndpointMapOutput) MapIndex

func (EndpointMapOutput) ToEndpointMapOutput

func (o EndpointMapOutput) ToEndpointMapOutput() EndpointMapOutput

func (EndpointMapOutput) ToEndpointMapOutputWithContext

func (o EndpointMapOutput) ToEndpointMapOutputWithContext(ctx context.Context) EndpointMapOutput

type EndpointOutput

type EndpointOutput struct{ *pulumi.OutputState }

func (EndpointOutput) CompartmentId

func (o EndpointOutput) CompartmentId() pulumi.StringOutput

(Updatable) The compartment OCID to create the endpoint in.

func (EndpointOutput) ContentModerationConfig

func (o EndpointOutput) ContentModerationConfig() EndpointContentModerationConfigOutput

(Updatable) The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.

func (EndpointOutput) DedicatedAiClusterId

func (o EndpointOutput) DedicatedAiClusterId() pulumi.StringOutput

The OCID of the dedicated AI cluster on which a model will be deployed to.

func (EndpointOutput) DefinedTags

func (o EndpointOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (EndpointOutput) Description

func (o EndpointOutput) Description() pulumi.StringOutput

(Updatable) An optional description of the endpoint.

func (EndpointOutput) DisplayName

func (o EndpointOutput) DisplayName() pulumi.StringOutput

(Updatable) A user-friendly name. Does not have to be unique, and it's changeable.

func (EndpointOutput) ElementType

func (EndpointOutput) ElementType() reflect.Type

func (EndpointOutput) FreeformTags

func (o EndpointOutput) FreeformTags() pulumi.MapOutput

(Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (EndpointOutput) LifecycleDetails

func (o EndpointOutput) LifecycleDetails() pulumi.StringOutput

A message describing the current state of the endpoint in more detail that can provide actionable information.

func (EndpointOutput) ModelId

func (o EndpointOutput) ModelId() pulumi.StringOutput

The ID of the model that's used to create this endpoint.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (EndpointOutput) State

The current state of the endpoint.

func (EndpointOutput) SystemTags

func (o EndpointOutput) SystemTags() pulumi.MapOutput

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (EndpointOutput) TimeCreated

func (o EndpointOutput) TimeCreated() pulumi.StringOutput

The date and time that the endpoint was created in the format of an RFC3339 datetime string.

func (EndpointOutput) TimeUpdated

func (o EndpointOutput) TimeUpdated() pulumi.StringOutput

The date and time that the endpoint was updated in the format of an RFC3339 datetime string.

func (EndpointOutput) ToEndpointOutput

func (o EndpointOutput) ToEndpointOutput() EndpointOutput

func (EndpointOutput) ToEndpointOutputWithContext

func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointState

type EndpointState struct {
	// (Updatable) The compartment OCID to create the endpoint in.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
	ContentModerationConfig EndpointContentModerationConfigPtrInput
	// The OCID of the dedicated AI cluster on which a model will be deployed to.
	DedicatedAiClusterId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) An optional description of the endpoint.
	Description pulumi.StringPtrInput
	// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName pulumi.StringPtrInput
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// A message describing the current state of the endpoint in more detail that can provide actionable information.
	LifecycleDetails pulumi.StringPtrInput
	// The ID of the model that's used to create this endpoint.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ModelId pulumi.StringPtrInput
	// The current state of the endpoint.
	State pulumi.StringPtrInput
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput
	// The date and time that the endpoint was created in the format of an RFC3339 datetime string.
	TimeCreated pulumi.StringPtrInput
	// The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
	TimeUpdated pulumi.StringPtrInput
}

func (EndpointState) ElementType

func (EndpointState) ElementType() reflect.Type

type GetDedicatedAiClusterCapacity

type GetDedicatedAiClusterCapacity struct {
	// The type of the dedicated AI cluster capacity.
	CapacityType string `pulumi:"capacityType"`
	// The total number of endpoints that can be hosted on this dedicated AI cluster.
	TotalEndpointCapacity int `pulumi:"totalEndpointCapacity"`
	// The number of endpoints hosted on this dedicated AI cluster.
	UsedEndpointCapacity int `pulumi:"usedEndpointCapacity"`
}

type GetDedicatedAiClusterCapacityArgs

type GetDedicatedAiClusterCapacityArgs struct {
	// The type of the dedicated AI cluster capacity.
	CapacityType pulumi.StringInput `pulumi:"capacityType"`
	// The total number of endpoints that can be hosted on this dedicated AI cluster.
	TotalEndpointCapacity pulumi.IntInput `pulumi:"totalEndpointCapacity"`
	// The number of endpoints hosted on this dedicated AI cluster.
	UsedEndpointCapacity pulumi.IntInput `pulumi:"usedEndpointCapacity"`
}

func (GetDedicatedAiClusterCapacityArgs) ElementType

func (GetDedicatedAiClusterCapacityArgs) ToGetDedicatedAiClusterCapacityOutput

func (i GetDedicatedAiClusterCapacityArgs) ToGetDedicatedAiClusterCapacityOutput() GetDedicatedAiClusterCapacityOutput

func (GetDedicatedAiClusterCapacityArgs) ToGetDedicatedAiClusterCapacityOutputWithContext

func (i GetDedicatedAiClusterCapacityArgs) ToGetDedicatedAiClusterCapacityOutputWithContext(ctx context.Context) GetDedicatedAiClusterCapacityOutput

type GetDedicatedAiClusterCapacityArray

type GetDedicatedAiClusterCapacityArray []GetDedicatedAiClusterCapacityInput

func (GetDedicatedAiClusterCapacityArray) ElementType

func (GetDedicatedAiClusterCapacityArray) ToGetDedicatedAiClusterCapacityArrayOutput

func (i GetDedicatedAiClusterCapacityArray) ToGetDedicatedAiClusterCapacityArrayOutput() GetDedicatedAiClusterCapacityArrayOutput

func (GetDedicatedAiClusterCapacityArray) ToGetDedicatedAiClusterCapacityArrayOutputWithContext

func (i GetDedicatedAiClusterCapacityArray) ToGetDedicatedAiClusterCapacityArrayOutputWithContext(ctx context.Context) GetDedicatedAiClusterCapacityArrayOutput

type GetDedicatedAiClusterCapacityArrayInput

type GetDedicatedAiClusterCapacityArrayInput interface {
	pulumi.Input

	ToGetDedicatedAiClusterCapacityArrayOutput() GetDedicatedAiClusterCapacityArrayOutput
	ToGetDedicatedAiClusterCapacityArrayOutputWithContext(context.Context) GetDedicatedAiClusterCapacityArrayOutput
}

GetDedicatedAiClusterCapacityArrayInput is an input type that accepts GetDedicatedAiClusterCapacityArray and GetDedicatedAiClusterCapacityArrayOutput values. You can construct a concrete instance of `GetDedicatedAiClusterCapacityArrayInput` via:

GetDedicatedAiClusterCapacityArray{ GetDedicatedAiClusterCapacityArgs{...} }

type GetDedicatedAiClusterCapacityArrayOutput

type GetDedicatedAiClusterCapacityArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClusterCapacityArrayOutput) ElementType

func (GetDedicatedAiClusterCapacityArrayOutput) Index

func (GetDedicatedAiClusterCapacityArrayOutput) ToGetDedicatedAiClusterCapacityArrayOutput

func (o GetDedicatedAiClusterCapacityArrayOutput) ToGetDedicatedAiClusterCapacityArrayOutput() GetDedicatedAiClusterCapacityArrayOutput

func (GetDedicatedAiClusterCapacityArrayOutput) ToGetDedicatedAiClusterCapacityArrayOutputWithContext

func (o GetDedicatedAiClusterCapacityArrayOutput) ToGetDedicatedAiClusterCapacityArrayOutputWithContext(ctx context.Context) GetDedicatedAiClusterCapacityArrayOutput

type GetDedicatedAiClusterCapacityInput

type GetDedicatedAiClusterCapacityInput interface {
	pulumi.Input

	ToGetDedicatedAiClusterCapacityOutput() GetDedicatedAiClusterCapacityOutput
	ToGetDedicatedAiClusterCapacityOutputWithContext(context.Context) GetDedicatedAiClusterCapacityOutput
}

GetDedicatedAiClusterCapacityInput is an input type that accepts GetDedicatedAiClusterCapacityArgs and GetDedicatedAiClusterCapacityOutput values. You can construct a concrete instance of `GetDedicatedAiClusterCapacityInput` via:

GetDedicatedAiClusterCapacityArgs{...}

type GetDedicatedAiClusterCapacityOutput

type GetDedicatedAiClusterCapacityOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClusterCapacityOutput) CapacityType

The type of the dedicated AI cluster capacity.

func (GetDedicatedAiClusterCapacityOutput) ElementType

func (GetDedicatedAiClusterCapacityOutput) ToGetDedicatedAiClusterCapacityOutput

func (o GetDedicatedAiClusterCapacityOutput) ToGetDedicatedAiClusterCapacityOutput() GetDedicatedAiClusterCapacityOutput

func (GetDedicatedAiClusterCapacityOutput) ToGetDedicatedAiClusterCapacityOutputWithContext

func (o GetDedicatedAiClusterCapacityOutput) ToGetDedicatedAiClusterCapacityOutputWithContext(ctx context.Context) GetDedicatedAiClusterCapacityOutput

func (GetDedicatedAiClusterCapacityOutput) TotalEndpointCapacity

func (o GetDedicatedAiClusterCapacityOutput) TotalEndpointCapacity() pulumi.IntOutput

The total number of endpoints that can be hosted on this dedicated AI cluster.

func (GetDedicatedAiClusterCapacityOutput) UsedEndpointCapacity

func (o GetDedicatedAiClusterCapacityOutput) UsedEndpointCapacity() pulumi.IntOutput

The number of endpoints hosted on this dedicated AI cluster.

type GetDedicatedAiClustersArgs

type GetDedicatedAiClustersArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId string `pulumi:"compartmentId"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName *string                        `pulumi:"displayName"`
	Filters     []GetDedicatedAiClustersFilter `pulumi:"filters"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
	Id *string `pulumi:"id"`
	// A filter to return only the dedicated AI clusters that their lifecycle state matches the given lifecycle state.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getDedicatedAiClusters.

type GetDedicatedAiClustersDedicatedAiClusterCollection

type GetDedicatedAiClustersDedicatedAiClusterCollection struct {
	Items []GetDedicatedAiClustersDedicatedAiClusterCollectionItem `pulumi:"items"`
}

type GetDedicatedAiClustersDedicatedAiClusterCollectionArgs

type GetDedicatedAiClustersDedicatedAiClusterCollectionArgs struct {
	Items GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayInput `pulumi:"items"`
}

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArgs) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionOutputWithContext

func (i GetDedicatedAiClustersDedicatedAiClusterCollectionArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionArray

type GetDedicatedAiClustersDedicatedAiClusterCollectionArray []GetDedicatedAiClustersDedicatedAiClusterCollectionInput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArray) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput

func (i GetDedicatedAiClustersDedicatedAiClusterCollectionArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput() GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutputWithContext

func (i GetDedicatedAiClustersDedicatedAiClusterCollectionArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionArrayInput

type GetDedicatedAiClustersDedicatedAiClusterCollectionArrayInput interface {
	pulumi.Input

	ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput() GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput
	ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutputWithContext(context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput
}

GetDedicatedAiClustersDedicatedAiClusterCollectionArrayInput is an input type that accepts GetDedicatedAiClustersDedicatedAiClusterCollectionArray and GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput values. You can construct a concrete instance of `GetDedicatedAiClustersDedicatedAiClusterCollectionArrayInput` via:

GetDedicatedAiClustersDedicatedAiClusterCollectionArray{ GetDedicatedAiClustersDedicatedAiClusterCollectionArgs{...} }

type GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput) Index

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutputWithContext

func (o GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionArrayOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionInput

type GetDedicatedAiClustersDedicatedAiClusterCollectionInput interface {
	pulumi.Input

	ToGetDedicatedAiClustersDedicatedAiClusterCollectionOutput() GetDedicatedAiClustersDedicatedAiClusterCollectionOutput
	ToGetDedicatedAiClustersDedicatedAiClusterCollectionOutputWithContext(context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionOutput
}

GetDedicatedAiClustersDedicatedAiClusterCollectionInput is an input type that accepts GetDedicatedAiClustersDedicatedAiClusterCollectionArgs and GetDedicatedAiClustersDedicatedAiClusterCollectionOutput values. You can construct a concrete instance of `GetDedicatedAiClustersDedicatedAiClusterCollectionInput` via:

GetDedicatedAiClustersDedicatedAiClusterCollectionArgs{...}

type GetDedicatedAiClustersDedicatedAiClusterCollectionItem

type GetDedicatedAiClustersDedicatedAiClusterCollectionItem struct {
	// The total capacity for a dedicated AI cluster.
	Capacities []GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacity `pulumi:"capacities"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// An optional description of the dedicated AI cluster.
	Description string `pulumi:"description"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName string `pulumi:"displayName"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
	Id string `pulumi:"id"`
	// A message describing the current state with detail that can provide actionable information.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// A filter to return only the dedicated AI clusters that their lifecycle state matches the given lifecycle state.
	State string `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
	TimeUpdated string `pulumi:"timeUpdated"`
	// The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
	Type string `pulumi:"type"`
	// The number of dedicated units in this AI cluster.
	UnitCount int `pulumi:"unitCount"`
	// The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
	UnitShape string `pulumi:"unitShape"`
}

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs struct {
	// The total capacity for a dedicated AI cluster.
	Capacities GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayInput `pulumi:"capacities"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// An optional description of the dedicated AI cluster.
	Description pulumi.StringInput `pulumi:"description"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
	Id pulumi.StringInput `pulumi:"id"`
	// A message describing the current state with detail that can provide actionable information.
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// A filter to return only the dedicated AI clusters that their lifecycle state matches the given lifecycle state.
	State pulumi.StringInput `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput `pulumi:"systemTags"`
	// The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
	// The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
	Type pulumi.StringInput `pulumi:"type"`
	// The number of dedicated units in this AI cluster.
	UnitCount pulumi.IntInput `pulumi:"unitCount"`
	// The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
	UnitShape pulumi.StringInput `pulumi:"unitShape"`
}

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemOutputWithContext

func (i GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemArray

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemArray []GetDedicatedAiClustersDedicatedAiClusterCollectionItemInput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArray) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutputWithContext

func (i GetDedicatedAiClustersDedicatedAiClusterCollectionItemArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayInput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayInput interface {
	pulumi.Input

	ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput() GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput
	ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutputWithContext(context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput
}

GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayInput is an input type that accepts GetDedicatedAiClustersDedicatedAiClusterCollectionItemArray and GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput values. You can construct a concrete instance of `GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayInput` via:

GetDedicatedAiClustersDedicatedAiClusterCollectionItemArray{ GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs{...} }

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput) Index

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutputWithContext

func (o GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemArrayOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacity

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacity struct {
	// The type of the dedicated AI cluster capacity.
	CapacityType string `pulumi:"capacityType"`
	// The total number of endpoints that can be hosted on this dedicated AI cluster.
	TotalEndpointCapacity int `pulumi:"totalEndpointCapacity"`
	// The number of endpoints hosted on this dedicated AI cluster.
	UsedEndpointCapacity int `pulumi:"usedEndpointCapacity"`
}

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs struct {
	// The type of the dedicated AI cluster capacity.
	CapacityType pulumi.StringInput `pulumi:"capacityType"`
	// The total number of endpoints that can be hosted on this dedicated AI cluster.
	TotalEndpointCapacity pulumi.IntInput `pulumi:"totalEndpointCapacity"`
	// The number of endpoints hosted on this dedicated AI cluster.
	UsedEndpointCapacity pulumi.IntInput `pulumi:"usedEndpointCapacity"`
}

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutputWithContext

func (i GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArray

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArray []GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityInput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArray) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutputWithContext

func (i GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArray) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayInput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayInput interface {
	pulumi.Input

	ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput() GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput
	ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutputWithContext(context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput
}

GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayInput is an input type that accepts GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArray and GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput values. You can construct a concrete instance of `GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayInput` via:

GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArray{ GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs{...} }

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArrayOutputWithContext

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityInput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityInput interface {
	pulumi.Input

	ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput() GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput
	ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutputWithContext(context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput
}

GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityInput is an input type that accepts GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs and GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput values. You can construct a concrete instance of `GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityInput` via:

GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityArgs{...}

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput) CapacityType

The type of the dedicated AI cluster capacity.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutputWithContext

func (o GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput) TotalEndpointCapacity

The total number of endpoints that can be hosted on this dedicated AI cluster.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemCapacityOutput) UsedEndpointCapacity

The number of endpoints hosted on this dedicated AI cluster.

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemInput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemInput interface {
	pulumi.Input

	ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput() GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput
	ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemOutputWithContext(context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput
}

GetDedicatedAiClustersDedicatedAiClusterCollectionItemInput is an input type that accepts GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs and GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput values. You can construct a concrete instance of `GetDedicatedAiClustersDedicatedAiClusterCollectionItemInput` via:

GetDedicatedAiClustersDedicatedAiClusterCollectionItemArgs{...}

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) Capacities

The total capacity for a dedicated AI cluster.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) Description

An optional description of the dedicated AI cluster.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) DisplayName

A filter to return only resources that match the given display name exactly.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) FreeformTags

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) Id

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) LifecycleDetails

A message describing the current state with detail that can provide actionable information.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) State

A filter to return only the dedicated AI clusters that their lifecycle state matches the given lifecycle state.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) SystemTags

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) TimeCreated

The date and time the dedicated AI cluster was created, in the format defined by RFC 3339

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) TimeUpdated

The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemOutputWithContext

func (o GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionItemOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) Type

The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) UnitCount

The number of dedicated units in this AI cluster.

func (GetDedicatedAiClustersDedicatedAiClusterCollectionItemOutput) UnitShape

The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.

type GetDedicatedAiClustersDedicatedAiClusterCollectionOutput

type GetDedicatedAiClustersDedicatedAiClusterCollectionOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClustersDedicatedAiClusterCollectionOutput) ElementType

func (GetDedicatedAiClustersDedicatedAiClusterCollectionOutput) Items

func (GetDedicatedAiClustersDedicatedAiClusterCollectionOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionOutput

func (GetDedicatedAiClustersDedicatedAiClusterCollectionOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionOutputWithContext

func (o GetDedicatedAiClustersDedicatedAiClusterCollectionOutput) ToGetDedicatedAiClustersDedicatedAiClusterCollectionOutputWithContext(ctx context.Context) GetDedicatedAiClustersDedicatedAiClusterCollectionOutput

type GetDedicatedAiClustersFilter

type GetDedicatedAiClustersFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetDedicatedAiClustersFilterArgs

type GetDedicatedAiClustersFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetDedicatedAiClustersFilterArgs) ElementType

func (GetDedicatedAiClustersFilterArgs) ToGetDedicatedAiClustersFilterOutput

func (i GetDedicatedAiClustersFilterArgs) ToGetDedicatedAiClustersFilterOutput() GetDedicatedAiClustersFilterOutput

func (GetDedicatedAiClustersFilterArgs) ToGetDedicatedAiClustersFilterOutputWithContext

func (i GetDedicatedAiClustersFilterArgs) ToGetDedicatedAiClustersFilterOutputWithContext(ctx context.Context) GetDedicatedAiClustersFilterOutput

type GetDedicatedAiClustersFilterArray

type GetDedicatedAiClustersFilterArray []GetDedicatedAiClustersFilterInput

func (GetDedicatedAiClustersFilterArray) ElementType

func (GetDedicatedAiClustersFilterArray) ToGetDedicatedAiClustersFilterArrayOutput

func (i GetDedicatedAiClustersFilterArray) ToGetDedicatedAiClustersFilterArrayOutput() GetDedicatedAiClustersFilterArrayOutput

func (GetDedicatedAiClustersFilterArray) ToGetDedicatedAiClustersFilterArrayOutputWithContext

func (i GetDedicatedAiClustersFilterArray) ToGetDedicatedAiClustersFilterArrayOutputWithContext(ctx context.Context) GetDedicatedAiClustersFilterArrayOutput

type GetDedicatedAiClustersFilterArrayInput

type GetDedicatedAiClustersFilterArrayInput interface {
	pulumi.Input

	ToGetDedicatedAiClustersFilterArrayOutput() GetDedicatedAiClustersFilterArrayOutput
	ToGetDedicatedAiClustersFilterArrayOutputWithContext(context.Context) GetDedicatedAiClustersFilterArrayOutput
}

GetDedicatedAiClustersFilterArrayInput is an input type that accepts GetDedicatedAiClustersFilterArray and GetDedicatedAiClustersFilterArrayOutput values. You can construct a concrete instance of `GetDedicatedAiClustersFilterArrayInput` via:

GetDedicatedAiClustersFilterArray{ GetDedicatedAiClustersFilterArgs{...} }

type GetDedicatedAiClustersFilterArrayOutput

type GetDedicatedAiClustersFilterArrayOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClustersFilterArrayOutput) ElementType

func (GetDedicatedAiClustersFilterArrayOutput) Index

func (GetDedicatedAiClustersFilterArrayOutput) ToGetDedicatedAiClustersFilterArrayOutput

func (o GetDedicatedAiClustersFilterArrayOutput) ToGetDedicatedAiClustersFilterArrayOutput() GetDedicatedAiClustersFilterArrayOutput

func (GetDedicatedAiClustersFilterArrayOutput) ToGetDedicatedAiClustersFilterArrayOutputWithContext

func (o GetDedicatedAiClustersFilterArrayOutput) ToGetDedicatedAiClustersFilterArrayOutputWithContext(ctx context.Context) GetDedicatedAiClustersFilterArrayOutput

type GetDedicatedAiClustersFilterInput

type GetDedicatedAiClustersFilterInput interface {
	pulumi.Input

	ToGetDedicatedAiClustersFilterOutput() GetDedicatedAiClustersFilterOutput
	ToGetDedicatedAiClustersFilterOutputWithContext(context.Context) GetDedicatedAiClustersFilterOutput
}

GetDedicatedAiClustersFilterInput is an input type that accepts GetDedicatedAiClustersFilterArgs and GetDedicatedAiClustersFilterOutput values. You can construct a concrete instance of `GetDedicatedAiClustersFilterInput` via:

GetDedicatedAiClustersFilterArgs{...}

type GetDedicatedAiClustersFilterOutput

type GetDedicatedAiClustersFilterOutput struct{ *pulumi.OutputState }

func (GetDedicatedAiClustersFilterOutput) ElementType

func (GetDedicatedAiClustersFilterOutput) Name

func (GetDedicatedAiClustersFilterOutput) Regex

func (GetDedicatedAiClustersFilterOutput) ToGetDedicatedAiClustersFilterOutput

func (o GetDedicatedAiClustersFilterOutput) ToGetDedicatedAiClustersFilterOutput() GetDedicatedAiClustersFilterOutput

func (GetDedicatedAiClustersFilterOutput) ToGetDedicatedAiClustersFilterOutputWithContext

func (o GetDedicatedAiClustersFilterOutput) ToGetDedicatedAiClustersFilterOutputWithContext(ctx context.Context) GetDedicatedAiClustersFilterOutput

func (GetDedicatedAiClustersFilterOutput) Values

type GetDedicatedAiClustersOutputArgs

type GetDedicatedAiClustersOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName pulumi.StringPtrInput                  `pulumi:"displayName"`
	Filters     GetDedicatedAiClustersFilterArrayInput `pulumi:"filters"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A filter to return only the dedicated AI clusters that their lifecycle state matches the given lifecycle state.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getDedicatedAiClusters.

func (GetDedicatedAiClustersOutputArgs) ElementType

type GetDedicatedAiClustersResult

type GetDedicatedAiClustersResult struct {
	// The compartment OCID to create the dedicated AI cluster in.
	CompartmentId string `pulumi:"compartmentId"`
	// The list of dedicated_ai_cluster_collection.
	DedicatedAiClusterCollections []GetDedicatedAiClustersDedicatedAiClusterCollection `pulumi:"dedicatedAiClusterCollections"`
	// A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName *string                        `pulumi:"displayName"`
	Filters     []GetDedicatedAiClustersFilter `pulumi:"filters"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
	Id *string `pulumi:"id"`
	// The current state of the dedicated AI cluster.
	State *string `pulumi:"state"`
}

A collection of values returned by getDedicatedAiClusters.

func GetDedicatedAiClusters

func GetDedicatedAiClusters(ctx *pulumi.Context, args *GetDedicatedAiClustersArgs, opts ...pulumi.InvokeOption) (*GetDedicatedAiClustersResult, error)

This data source provides the list of Dedicated Ai Clusters in Oracle Cloud Infrastructure Generative Ai service.

Lists the dedicated AI clusters in a specific compartment.

## Example Usage

```go 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.GetDedicatedAiClusters(ctx, &generativeai.GetDedicatedAiClustersArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(dedicatedAiClusterDisplayName),
			Id:            pulumi.StringRef(dedicatedAiClusterId),
			State:         pulumi.StringRef(dedicatedAiClusterState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDedicatedAiClustersResultOutput

type GetDedicatedAiClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDedicatedAiClusters.

func (GetDedicatedAiClustersResultOutput) CompartmentId

The compartment OCID to create the dedicated AI cluster in.

func (GetDedicatedAiClustersResultOutput) DedicatedAiClusterCollections

The list of dedicated_ai_cluster_collection.

func (GetDedicatedAiClustersResultOutput) DisplayName

A user-friendly name. Does not have to be unique, and it's changeable.

func (GetDedicatedAiClustersResultOutput) ElementType

func (GetDedicatedAiClustersResultOutput) Filters

func (GetDedicatedAiClustersResultOutput) Id

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.

func (GetDedicatedAiClustersResultOutput) State

The current state of the dedicated AI cluster.

func (GetDedicatedAiClustersResultOutput) ToGetDedicatedAiClustersResultOutput

func (o GetDedicatedAiClustersResultOutput) ToGetDedicatedAiClustersResultOutput() GetDedicatedAiClustersResultOutput

func (GetDedicatedAiClustersResultOutput) ToGetDedicatedAiClustersResultOutputWithContext

func (o GetDedicatedAiClustersResultOutput) ToGetDedicatedAiClustersResultOutputWithContext(ctx context.Context) GetDedicatedAiClustersResultOutput

type GetEndpointContentModerationConfig

type GetEndpointContentModerationConfig struct {
	// Whether to enable the content moderation feature.
	IsEnabled bool `pulumi:"isEnabled"`
}

type GetEndpointContentModerationConfigArgs

type GetEndpointContentModerationConfigArgs struct {
	// Whether to enable the content moderation feature.
	IsEnabled pulumi.BoolInput `pulumi:"isEnabled"`
}

func (GetEndpointContentModerationConfigArgs) ElementType

func (GetEndpointContentModerationConfigArgs) ToGetEndpointContentModerationConfigOutput

func (i GetEndpointContentModerationConfigArgs) ToGetEndpointContentModerationConfigOutput() GetEndpointContentModerationConfigOutput

func (GetEndpointContentModerationConfigArgs) ToGetEndpointContentModerationConfigOutputWithContext

func (i GetEndpointContentModerationConfigArgs) ToGetEndpointContentModerationConfigOutputWithContext(ctx context.Context) GetEndpointContentModerationConfigOutput

type GetEndpointContentModerationConfigArray

type GetEndpointContentModerationConfigArray []GetEndpointContentModerationConfigInput

func (GetEndpointContentModerationConfigArray) ElementType

func (GetEndpointContentModerationConfigArray) ToGetEndpointContentModerationConfigArrayOutput

func (i GetEndpointContentModerationConfigArray) ToGetEndpointContentModerationConfigArrayOutput() GetEndpointContentModerationConfigArrayOutput

func (GetEndpointContentModerationConfigArray) ToGetEndpointContentModerationConfigArrayOutputWithContext

func (i GetEndpointContentModerationConfigArray) ToGetEndpointContentModerationConfigArrayOutputWithContext(ctx context.Context) GetEndpointContentModerationConfigArrayOutput

type GetEndpointContentModerationConfigArrayInput

type GetEndpointContentModerationConfigArrayInput interface {
	pulumi.Input

	ToGetEndpointContentModerationConfigArrayOutput() GetEndpointContentModerationConfigArrayOutput
	ToGetEndpointContentModerationConfigArrayOutputWithContext(context.Context) GetEndpointContentModerationConfigArrayOutput
}

GetEndpointContentModerationConfigArrayInput is an input type that accepts GetEndpointContentModerationConfigArray and GetEndpointContentModerationConfigArrayOutput values. You can construct a concrete instance of `GetEndpointContentModerationConfigArrayInput` via:

GetEndpointContentModerationConfigArray{ GetEndpointContentModerationConfigArgs{...} }

type GetEndpointContentModerationConfigArrayOutput

type GetEndpointContentModerationConfigArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointContentModerationConfigArrayOutput) ElementType

func (GetEndpointContentModerationConfigArrayOutput) Index

func (GetEndpointContentModerationConfigArrayOutput) ToGetEndpointContentModerationConfigArrayOutput

func (o GetEndpointContentModerationConfigArrayOutput) ToGetEndpointContentModerationConfigArrayOutput() GetEndpointContentModerationConfigArrayOutput

func (GetEndpointContentModerationConfigArrayOutput) ToGetEndpointContentModerationConfigArrayOutputWithContext

func (o GetEndpointContentModerationConfigArrayOutput) ToGetEndpointContentModerationConfigArrayOutputWithContext(ctx context.Context) GetEndpointContentModerationConfigArrayOutput

type GetEndpointContentModerationConfigInput

type GetEndpointContentModerationConfigInput interface {
	pulumi.Input

	ToGetEndpointContentModerationConfigOutput() GetEndpointContentModerationConfigOutput
	ToGetEndpointContentModerationConfigOutputWithContext(context.Context) GetEndpointContentModerationConfigOutput
}

GetEndpointContentModerationConfigInput is an input type that accepts GetEndpointContentModerationConfigArgs and GetEndpointContentModerationConfigOutput values. You can construct a concrete instance of `GetEndpointContentModerationConfigInput` via:

GetEndpointContentModerationConfigArgs{...}

type GetEndpointContentModerationConfigOutput

type GetEndpointContentModerationConfigOutput struct{ *pulumi.OutputState }

func (GetEndpointContentModerationConfigOutput) ElementType

func (GetEndpointContentModerationConfigOutput) IsEnabled

Whether to enable the content moderation feature.

func (GetEndpointContentModerationConfigOutput) ToGetEndpointContentModerationConfigOutput

func (o GetEndpointContentModerationConfigOutput) ToGetEndpointContentModerationConfigOutput() GetEndpointContentModerationConfigOutput

func (GetEndpointContentModerationConfigOutput) ToGetEndpointContentModerationConfigOutputWithContext

func (o GetEndpointContentModerationConfigOutput) ToGetEndpointContentModerationConfigOutputWithContext(ctx context.Context) GetEndpointContentModerationConfigOutput

type GetEndpointsArgs

type GetEndpointsArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId string `pulumi:"compartmentId"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName *string              `pulumi:"displayName"`
	Filters     []GetEndpointsFilter `pulumi:"filters"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.
	Id *string `pulumi:"id"`
	// A filter to return only resources that their lifecycle state matches the given lifecycle state.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getEndpoints.

type GetEndpointsEndpointCollection

type GetEndpointsEndpointCollection struct {
	Items []GetEndpointsEndpointCollectionItem `pulumi:"items"`
}

type GetEndpointsEndpointCollectionArgs

type GetEndpointsEndpointCollectionArgs struct {
	Items GetEndpointsEndpointCollectionItemArrayInput `pulumi:"items"`
}

func (GetEndpointsEndpointCollectionArgs) ElementType

func (GetEndpointsEndpointCollectionArgs) ToGetEndpointsEndpointCollectionOutput

func (i GetEndpointsEndpointCollectionArgs) ToGetEndpointsEndpointCollectionOutput() GetEndpointsEndpointCollectionOutput

func (GetEndpointsEndpointCollectionArgs) ToGetEndpointsEndpointCollectionOutputWithContext

func (i GetEndpointsEndpointCollectionArgs) ToGetEndpointsEndpointCollectionOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionOutput

type GetEndpointsEndpointCollectionArray

type GetEndpointsEndpointCollectionArray []GetEndpointsEndpointCollectionInput

func (GetEndpointsEndpointCollectionArray) ElementType

func (GetEndpointsEndpointCollectionArray) ToGetEndpointsEndpointCollectionArrayOutput

func (i GetEndpointsEndpointCollectionArray) ToGetEndpointsEndpointCollectionArrayOutput() GetEndpointsEndpointCollectionArrayOutput

func (GetEndpointsEndpointCollectionArray) ToGetEndpointsEndpointCollectionArrayOutputWithContext

func (i GetEndpointsEndpointCollectionArray) ToGetEndpointsEndpointCollectionArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionArrayOutput

type GetEndpointsEndpointCollectionArrayInput

type GetEndpointsEndpointCollectionArrayInput interface {
	pulumi.Input

	ToGetEndpointsEndpointCollectionArrayOutput() GetEndpointsEndpointCollectionArrayOutput
	ToGetEndpointsEndpointCollectionArrayOutputWithContext(context.Context) GetEndpointsEndpointCollectionArrayOutput
}

GetEndpointsEndpointCollectionArrayInput is an input type that accepts GetEndpointsEndpointCollectionArray and GetEndpointsEndpointCollectionArrayOutput values. You can construct a concrete instance of `GetEndpointsEndpointCollectionArrayInput` via:

GetEndpointsEndpointCollectionArray{ GetEndpointsEndpointCollectionArgs{...} }

type GetEndpointsEndpointCollectionArrayOutput

type GetEndpointsEndpointCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointCollectionArrayOutput) ElementType

func (GetEndpointsEndpointCollectionArrayOutput) Index

func (GetEndpointsEndpointCollectionArrayOutput) ToGetEndpointsEndpointCollectionArrayOutput

func (o GetEndpointsEndpointCollectionArrayOutput) ToGetEndpointsEndpointCollectionArrayOutput() GetEndpointsEndpointCollectionArrayOutput

func (GetEndpointsEndpointCollectionArrayOutput) ToGetEndpointsEndpointCollectionArrayOutputWithContext

func (o GetEndpointsEndpointCollectionArrayOutput) ToGetEndpointsEndpointCollectionArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionArrayOutput

type GetEndpointsEndpointCollectionInput

type GetEndpointsEndpointCollectionInput interface {
	pulumi.Input

	ToGetEndpointsEndpointCollectionOutput() GetEndpointsEndpointCollectionOutput
	ToGetEndpointsEndpointCollectionOutputWithContext(context.Context) GetEndpointsEndpointCollectionOutput
}

GetEndpointsEndpointCollectionInput is an input type that accepts GetEndpointsEndpointCollectionArgs and GetEndpointsEndpointCollectionOutput values. You can construct a concrete instance of `GetEndpointsEndpointCollectionInput` via:

GetEndpointsEndpointCollectionArgs{...}

type GetEndpointsEndpointCollectionItem

type GetEndpointsEndpointCollectionItem struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId string `pulumi:"compartmentId"`
	// The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
	ContentModerationConfigs []GetEndpointsEndpointCollectionItemContentModerationConfig `pulumi:"contentModerationConfigs"`
	// The OCID of the dedicated AI cluster on which the model will be deployed to.
	DedicatedAiClusterId string `pulumi:"dedicatedAiClusterId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// An optional description of the endpoint.
	Description string `pulumi:"description"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName string `pulumi:"displayName"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.
	Id string `pulumi:"id"`
	// A message describing the current state of the endpoint in more detail that can provide actionable information.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// The OCID of the model that's used to create this endpoint.
	ModelId string `pulumi:"modelId"`
	// A filter to return only resources that their lifecycle state matches the given lifecycle state.
	State string `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The date and time that the endpoint was created in the format of an RFC3339 datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetEndpointsEndpointCollectionItemArgs

type GetEndpointsEndpointCollectionItemArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
	ContentModerationConfigs GetEndpointsEndpointCollectionItemContentModerationConfigArrayInput `pulumi:"contentModerationConfigs"`
	// The OCID of the dedicated AI cluster on which the model will be deployed to.
	DedicatedAiClusterId pulumi.StringInput `pulumi:"dedicatedAiClusterId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// An optional description of the endpoint.
	Description pulumi.StringInput `pulumi:"description"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.
	Id pulumi.StringInput `pulumi:"id"`
	// A message describing the current state of the endpoint in more detail that can provide actionable information.
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// The OCID of the model that's used to create this endpoint.
	ModelId pulumi.StringInput `pulumi:"modelId"`
	// A filter to return only resources that their lifecycle state matches the given lifecycle state.
	State pulumi.StringInput `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput `pulumi:"systemTags"`
	// The date and time that the endpoint was created in the format of an RFC3339 datetime string.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetEndpointsEndpointCollectionItemArgs) ElementType

func (GetEndpointsEndpointCollectionItemArgs) ToGetEndpointsEndpointCollectionItemOutput

func (i GetEndpointsEndpointCollectionItemArgs) ToGetEndpointsEndpointCollectionItemOutput() GetEndpointsEndpointCollectionItemOutput

func (GetEndpointsEndpointCollectionItemArgs) ToGetEndpointsEndpointCollectionItemOutputWithContext

func (i GetEndpointsEndpointCollectionItemArgs) ToGetEndpointsEndpointCollectionItemOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionItemOutput

type GetEndpointsEndpointCollectionItemArray

type GetEndpointsEndpointCollectionItemArray []GetEndpointsEndpointCollectionItemInput

func (GetEndpointsEndpointCollectionItemArray) ElementType

func (GetEndpointsEndpointCollectionItemArray) ToGetEndpointsEndpointCollectionItemArrayOutput

func (i GetEndpointsEndpointCollectionItemArray) ToGetEndpointsEndpointCollectionItemArrayOutput() GetEndpointsEndpointCollectionItemArrayOutput

func (GetEndpointsEndpointCollectionItemArray) ToGetEndpointsEndpointCollectionItemArrayOutputWithContext

func (i GetEndpointsEndpointCollectionItemArray) ToGetEndpointsEndpointCollectionItemArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionItemArrayOutput

type GetEndpointsEndpointCollectionItemArrayInput

type GetEndpointsEndpointCollectionItemArrayInput interface {
	pulumi.Input

	ToGetEndpointsEndpointCollectionItemArrayOutput() GetEndpointsEndpointCollectionItemArrayOutput
	ToGetEndpointsEndpointCollectionItemArrayOutputWithContext(context.Context) GetEndpointsEndpointCollectionItemArrayOutput
}

GetEndpointsEndpointCollectionItemArrayInput is an input type that accepts GetEndpointsEndpointCollectionItemArray and GetEndpointsEndpointCollectionItemArrayOutput values. You can construct a concrete instance of `GetEndpointsEndpointCollectionItemArrayInput` via:

GetEndpointsEndpointCollectionItemArray{ GetEndpointsEndpointCollectionItemArgs{...} }

type GetEndpointsEndpointCollectionItemArrayOutput

type GetEndpointsEndpointCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointCollectionItemArrayOutput) ElementType

func (GetEndpointsEndpointCollectionItemArrayOutput) Index

func (GetEndpointsEndpointCollectionItemArrayOutput) ToGetEndpointsEndpointCollectionItemArrayOutput

func (o GetEndpointsEndpointCollectionItemArrayOutput) ToGetEndpointsEndpointCollectionItemArrayOutput() GetEndpointsEndpointCollectionItemArrayOutput

func (GetEndpointsEndpointCollectionItemArrayOutput) ToGetEndpointsEndpointCollectionItemArrayOutputWithContext

func (o GetEndpointsEndpointCollectionItemArrayOutput) ToGetEndpointsEndpointCollectionItemArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionItemArrayOutput

type GetEndpointsEndpointCollectionItemContentModerationConfig

type GetEndpointsEndpointCollectionItemContentModerationConfig struct {
	// Whether to enable the content moderation feature.
	IsEnabled bool `pulumi:"isEnabled"`
}

type GetEndpointsEndpointCollectionItemContentModerationConfigArgs

type GetEndpointsEndpointCollectionItemContentModerationConfigArgs struct {
	// Whether to enable the content moderation feature.
	IsEnabled pulumi.BoolInput `pulumi:"isEnabled"`
}

func (GetEndpointsEndpointCollectionItemContentModerationConfigArgs) ElementType

func (GetEndpointsEndpointCollectionItemContentModerationConfigArgs) ToGetEndpointsEndpointCollectionItemContentModerationConfigOutput

func (GetEndpointsEndpointCollectionItemContentModerationConfigArgs) ToGetEndpointsEndpointCollectionItemContentModerationConfigOutputWithContext

func (i GetEndpointsEndpointCollectionItemContentModerationConfigArgs) ToGetEndpointsEndpointCollectionItemContentModerationConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionItemContentModerationConfigOutput

type GetEndpointsEndpointCollectionItemContentModerationConfigArray

type GetEndpointsEndpointCollectionItemContentModerationConfigArray []GetEndpointsEndpointCollectionItemContentModerationConfigInput

func (GetEndpointsEndpointCollectionItemContentModerationConfigArray) ElementType

func (GetEndpointsEndpointCollectionItemContentModerationConfigArray) ToGetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput

func (GetEndpointsEndpointCollectionItemContentModerationConfigArray) ToGetEndpointsEndpointCollectionItemContentModerationConfigArrayOutputWithContext

func (i GetEndpointsEndpointCollectionItemContentModerationConfigArray) ToGetEndpointsEndpointCollectionItemContentModerationConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput

type GetEndpointsEndpointCollectionItemContentModerationConfigArrayInput

type GetEndpointsEndpointCollectionItemContentModerationConfigArrayInput interface {
	pulumi.Input

	ToGetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput() GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput
	ToGetEndpointsEndpointCollectionItemContentModerationConfigArrayOutputWithContext(context.Context) GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput
}

GetEndpointsEndpointCollectionItemContentModerationConfigArrayInput is an input type that accepts GetEndpointsEndpointCollectionItemContentModerationConfigArray and GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput values. You can construct a concrete instance of `GetEndpointsEndpointCollectionItemContentModerationConfigArrayInput` via:

GetEndpointsEndpointCollectionItemContentModerationConfigArray{ GetEndpointsEndpointCollectionItemContentModerationConfigArgs{...} }

type GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput

type GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput) ElementType

func (GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput) ToGetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput

func (GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput) ToGetEndpointsEndpointCollectionItemContentModerationConfigArrayOutputWithContext

func (o GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput) ToGetEndpointsEndpointCollectionItemContentModerationConfigArrayOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionItemContentModerationConfigArrayOutput

type GetEndpointsEndpointCollectionItemContentModerationConfigInput

type GetEndpointsEndpointCollectionItemContentModerationConfigInput interface {
	pulumi.Input

	ToGetEndpointsEndpointCollectionItemContentModerationConfigOutput() GetEndpointsEndpointCollectionItemContentModerationConfigOutput
	ToGetEndpointsEndpointCollectionItemContentModerationConfigOutputWithContext(context.Context) GetEndpointsEndpointCollectionItemContentModerationConfigOutput
}

GetEndpointsEndpointCollectionItemContentModerationConfigInput is an input type that accepts GetEndpointsEndpointCollectionItemContentModerationConfigArgs and GetEndpointsEndpointCollectionItemContentModerationConfigOutput values. You can construct a concrete instance of `GetEndpointsEndpointCollectionItemContentModerationConfigInput` via:

GetEndpointsEndpointCollectionItemContentModerationConfigArgs{...}

type GetEndpointsEndpointCollectionItemContentModerationConfigOutput

type GetEndpointsEndpointCollectionItemContentModerationConfigOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointCollectionItemContentModerationConfigOutput) ElementType

func (GetEndpointsEndpointCollectionItemContentModerationConfigOutput) IsEnabled

Whether to enable the content moderation feature.

func (GetEndpointsEndpointCollectionItemContentModerationConfigOutput) ToGetEndpointsEndpointCollectionItemContentModerationConfigOutput

func (GetEndpointsEndpointCollectionItemContentModerationConfigOutput) ToGetEndpointsEndpointCollectionItemContentModerationConfigOutputWithContext

func (o GetEndpointsEndpointCollectionItemContentModerationConfigOutput) ToGetEndpointsEndpointCollectionItemContentModerationConfigOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionItemContentModerationConfigOutput

type GetEndpointsEndpointCollectionItemInput

type GetEndpointsEndpointCollectionItemInput interface {
	pulumi.Input

	ToGetEndpointsEndpointCollectionItemOutput() GetEndpointsEndpointCollectionItemOutput
	ToGetEndpointsEndpointCollectionItemOutputWithContext(context.Context) GetEndpointsEndpointCollectionItemOutput
}

GetEndpointsEndpointCollectionItemInput is an input type that accepts GetEndpointsEndpointCollectionItemArgs and GetEndpointsEndpointCollectionItemOutput values. You can construct a concrete instance of `GetEndpointsEndpointCollectionItemInput` via:

GetEndpointsEndpointCollectionItemArgs{...}

type GetEndpointsEndpointCollectionItemOutput

type GetEndpointsEndpointCollectionItemOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointCollectionItemOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.

func (GetEndpointsEndpointCollectionItemOutput) ContentModerationConfigs

The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.

func (GetEndpointsEndpointCollectionItemOutput) DedicatedAiClusterId

The OCID of the dedicated AI cluster on which the model will be deployed to.

func (GetEndpointsEndpointCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (GetEndpointsEndpointCollectionItemOutput) Description

An optional description of the endpoint.

func (GetEndpointsEndpointCollectionItemOutput) DisplayName

A filter to return only resources that match the given display name exactly.

func (GetEndpointsEndpointCollectionItemOutput) ElementType

func (GetEndpointsEndpointCollectionItemOutput) FreeformTags

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (GetEndpointsEndpointCollectionItemOutput) Id

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.

func (GetEndpointsEndpointCollectionItemOutput) LifecycleDetails

A message describing the current state of the endpoint in more detail that can provide actionable information.

func (GetEndpointsEndpointCollectionItemOutput) ModelId

The OCID of the model that's used to create this endpoint.

func (GetEndpointsEndpointCollectionItemOutput) State

A filter to return only resources that their lifecycle state matches the given lifecycle state.

func (GetEndpointsEndpointCollectionItemOutput) SystemTags

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetEndpointsEndpointCollectionItemOutput) TimeCreated

The date and time that the endpoint was created in the format of an RFC3339 datetime string.

func (GetEndpointsEndpointCollectionItemOutput) TimeUpdated

The date and time that the endpoint was updated in the format of an RFC3339 datetime string.

func (GetEndpointsEndpointCollectionItemOutput) ToGetEndpointsEndpointCollectionItemOutput

func (o GetEndpointsEndpointCollectionItemOutput) ToGetEndpointsEndpointCollectionItemOutput() GetEndpointsEndpointCollectionItemOutput

func (GetEndpointsEndpointCollectionItemOutput) ToGetEndpointsEndpointCollectionItemOutputWithContext

func (o GetEndpointsEndpointCollectionItemOutput) ToGetEndpointsEndpointCollectionItemOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionItemOutput

type GetEndpointsEndpointCollectionOutput

type GetEndpointsEndpointCollectionOutput struct{ *pulumi.OutputState }

func (GetEndpointsEndpointCollectionOutput) ElementType

func (GetEndpointsEndpointCollectionOutput) Items

func (GetEndpointsEndpointCollectionOutput) ToGetEndpointsEndpointCollectionOutput

func (o GetEndpointsEndpointCollectionOutput) ToGetEndpointsEndpointCollectionOutput() GetEndpointsEndpointCollectionOutput

func (GetEndpointsEndpointCollectionOutput) ToGetEndpointsEndpointCollectionOutputWithContext

func (o GetEndpointsEndpointCollectionOutput) ToGetEndpointsEndpointCollectionOutputWithContext(ctx context.Context) GetEndpointsEndpointCollectionOutput

type GetEndpointsFilter

type GetEndpointsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetEndpointsFilterArgs

type GetEndpointsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetEndpointsFilterArgs) ElementType

func (GetEndpointsFilterArgs) ElementType() reflect.Type

func (GetEndpointsFilterArgs) ToGetEndpointsFilterOutput

func (i GetEndpointsFilterArgs) ToGetEndpointsFilterOutput() GetEndpointsFilterOutput

func (GetEndpointsFilterArgs) ToGetEndpointsFilterOutputWithContext

func (i GetEndpointsFilterArgs) ToGetEndpointsFilterOutputWithContext(ctx context.Context) GetEndpointsFilterOutput

type GetEndpointsFilterArray

type GetEndpointsFilterArray []GetEndpointsFilterInput

func (GetEndpointsFilterArray) ElementType

func (GetEndpointsFilterArray) ElementType() reflect.Type

func (GetEndpointsFilterArray) ToGetEndpointsFilterArrayOutput

func (i GetEndpointsFilterArray) ToGetEndpointsFilterArrayOutput() GetEndpointsFilterArrayOutput

func (GetEndpointsFilterArray) ToGetEndpointsFilterArrayOutputWithContext

func (i GetEndpointsFilterArray) ToGetEndpointsFilterArrayOutputWithContext(ctx context.Context) GetEndpointsFilterArrayOutput

type GetEndpointsFilterArrayInput

type GetEndpointsFilterArrayInput interface {
	pulumi.Input

	ToGetEndpointsFilterArrayOutput() GetEndpointsFilterArrayOutput
	ToGetEndpointsFilterArrayOutputWithContext(context.Context) GetEndpointsFilterArrayOutput
}

GetEndpointsFilterArrayInput is an input type that accepts GetEndpointsFilterArray and GetEndpointsFilterArrayOutput values. You can construct a concrete instance of `GetEndpointsFilterArrayInput` via:

GetEndpointsFilterArray{ GetEndpointsFilterArgs{...} }

type GetEndpointsFilterArrayOutput

type GetEndpointsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetEndpointsFilterArrayOutput) ElementType

func (GetEndpointsFilterArrayOutput) Index

func (GetEndpointsFilterArrayOutput) ToGetEndpointsFilterArrayOutput

func (o GetEndpointsFilterArrayOutput) ToGetEndpointsFilterArrayOutput() GetEndpointsFilterArrayOutput

func (GetEndpointsFilterArrayOutput) ToGetEndpointsFilterArrayOutputWithContext

func (o GetEndpointsFilterArrayOutput) ToGetEndpointsFilterArrayOutputWithContext(ctx context.Context) GetEndpointsFilterArrayOutput

type GetEndpointsFilterInput

type GetEndpointsFilterInput interface {
	pulumi.Input

	ToGetEndpointsFilterOutput() GetEndpointsFilterOutput
	ToGetEndpointsFilterOutputWithContext(context.Context) GetEndpointsFilterOutput
}

GetEndpointsFilterInput is an input type that accepts GetEndpointsFilterArgs and GetEndpointsFilterOutput values. You can construct a concrete instance of `GetEndpointsFilterInput` via:

GetEndpointsFilterArgs{...}

type GetEndpointsFilterOutput

type GetEndpointsFilterOutput struct{ *pulumi.OutputState }

func (GetEndpointsFilterOutput) ElementType

func (GetEndpointsFilterOutput) ElementType() reflect.Type

func (GetEndpointsFilterOutput) Name

func (GetEndpointsFilterOutput) Regex

func (GetEndpointsFilterOutput) ToGetEndpointsFilterOutput

func (o GetEndpointsFilterOutput) ToGetEndpointsFilterOutput() GetEndpointsFilterOutput

func (GetEndpointsFilterOutput) ToGetEndpointsFilterOutputWithContext

func (o GetEndpointsFilterOutput) ToGetEndpointsFilterOutputWithContext(ctx context.Context) GetEndpointsFilterOutput

func (GetEndpointsFilterOutput) Values

type GetEndpointsOutputArgs

type GetEndpointsOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName pulumi.StringPtrInput        `pulumi:"displayName"`
	Filters     GetEndpointsFilterArrayInput `pulumi:"filters"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A filter to return only resources that their lifecycle state matches the given lifecycle state.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getEndpoints.

func (GetEndpointsOutputArgs) ElementType

func (GetEndpointsOutputArgs) ElementType() reflect.Type

type GetEndpointsResult

type GetEndpointsResult struct {
	// The compartment OCID to create the endpoint in.
	CompartmentId string `pulumi:"compartmentId"`
	// A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName *string `pulumi:"displayName"`
	// The list of endpoint_collection.
	EndpointCollections []GetEndpointsEndpointCollection `pulumi:"endpointCollections"`
	Filters             []GetEndpointsFilter             `pulumi:"filters"`
	// An OCID that uniquely identifies this endpoint resource.
	Id *string `pulumi:"id"`
	// The current state of the endpoint.
	State *string `pulumi:"state"`
}

A collection of values returned by getEndpoints.

func GetEndpoints

func GetEndpoints(ctx *pulumi.Context, args *GetEndpointsArgs, opts ...pulumi.InvokeOption) (*GetEndpointsResult, error)

This data source provides the list of Endpoints in Oracle Cloud Infrastructure Generative Ai service.

Lists the endpoints of a specific compartment.

## Example Usage

```go 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.GetEndpoints(ctx, &generativeai.GetEndpointsArgs{
			CompartmentId: compartmentId,
			DisplayName:   pulumi.StringRef(endpointDisplayName),
			Id:            pulumi.StringRef(endpointId),
			State:         pulumi.StringRef(endpointState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetEndpointsResultOutput

type GetEndpointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEndpoints.

func (GetEndpointsResultOutput) CompartmentId

func (o GetEndpointsResultOutput) CompartmentId() pulumi.StringOutput

The compartment OCID to create the endpoint in.

func (GetEndpointsResultOutput) DisplayName

A user-friendly name. Does not have to be unique, and it's changeable.

func (GetEndpointsResultOutput) ElementType

func (GetEndpointsResultOutput) ElementType() reflect.Type

func (GetEndpointsResultOutput) EndpointCollections

The list of endpoint_collection.

func (GetEndpointsResultOutput) Filters

func (GetEndpointsResultOutput) Id

An OCID that uniquely identifies this endpoint resource.

func (GetEndpointsResultOutput) State

The current state of the endpoint.

func (GetEndpointsResultOutput) ToGetEndpointsResultOutput

func (o GetEndpointsResultOutput) ToGetEndpointsResultOutput() GetEndpointsResultOutput

func (GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext

func (o GetEndpointsResultOutput) ToGetEndpointsResultOutputWithContext(ctx context.Context) GetEndpointsResultOutput

type GetModelFineTuneDetail

type GetModelFineTuneDetail struct {
	// The OCID of the dedicated AI cluster this fine-tuning runs on.
	DedicatedAiClusterId string `pulumi:"dedicatedAiClusterId"`
	// The fine-tuning method and hyperparameters used for fine-tuning a custom model.
	TrainingConfigs []GetModelFineTuneDetailTrainingConfig `pulumi:"trainingConfigs"`
	// The dataset used to fine-tune the model.
	TrainingDatasets []GetModelFineTuneDetailTrainingDataset `pulumi:"trainingDatasets"`
}

type GetModelFineTuneDetailArgs

type GetModelFineTuneDetailArgs struct {
	// The OCID of the dedicated AI cluster this fine-tuning runs on.
	DedicatedAiClusterId pulumi.StringInput `pulumi:"dedicatedAiClusterId"`
	// The fine-tuning method and hyperparameters used for fine-tuning a custom model.
	TrainingConfigs GetModelFineTuneDetailTrainingConfigArrayInput `pulumi:"trainingConfigs"`
	// The dataset used to fine-tune the model.
	TrainingDatasets GetModelFineTuneDetailTrainingDatasetArrayInput `pulumi:"trainingDatasets"`
}

func (GetModelFineTuneDetailArgs) ElementType

func (GetModelFineTuneDetailArgs) ElementType() reflect.Type

func (GetModelFineTuneDetailArgs) ToGetModelFineTuneDetailOutput

func (i GetModelFineTuneDetailArgs) ToGetModelFineTuneDetailOutput() GetModelFineTuneDetailOutput

func (GetModelFineTuneDetailArgs) ToGetModelFineTuneDetailOutputWithContext

func (i GetModelFineTuneDetailArgs) ToGetModelFineTuneDetailOutputWithContext(ctx context.Context) GetModelFineTuneDetailOutput

type GetModelFineTuneDetailArray

type GetModelFineTuneDetailArray []GetModelFineTuneDetailInput

func (GetModelFineTuneDetailArray) ElementType

func (GetModelFineTuneDetailArray) ToGetModelFineTuneDetailArrayOutput

func (i GetModelFineTuneDetailArray) ToGetModelFineTuneDetailArrayOutput() GetModelFineTuneDetailArrayOutput

func (GetModelFineTuneDetailArray) ToGetModelFineTuneDetailArrayOutputWithContext

func (i GetModelFineTuneDetailArray) ToGetModelFineTuneDetailArrayOutputWithContext(ctx context.Context) GetModelFineTuneDetailArrayOutput

type GetModelFineTuneDetailArrayInput

type GetModelFineTuneDetailArrayInput interface {
	pulumi.Input

	ToGetModelFineTuneDetailArrayOutput() GetModelFineTuneDetailArrayOutput
	ToGetModelFineTuneDetailArrayOutputWithContext(context.Context) GetModelFineTuneDetailArrayOutput
}

GetModelFineTuneDetailArrayInput is an input type that accepts GetModelFineTuneDetailArray and GetModelFineTuneDetailArrayOutput values. You can construct a concrete instance of `GetModelFineTuneDetailArrayInput` via:

GetModelFineTuneDetailArray{ GetModelFineTuneDetailArgs{...} }

type GetModelFineTuneDetailArrayOutput

type GetModelFineTuneDetailArrayOutput struct{ *pulumi.OutputState }

func (GetModelFineTuneDetailArrayOutput) ElementType

func (GetModelFineTuneDetailArrayOutput) Index

func (GetModelFineTuneDetailArrayOutput) ToGetModelFineTuneDetailArrayOutput

func (o GetModelFineTuneDetailArrayOutput) ToGetModelFineTuneDetailArrayOutput() GetModelFineTuneDetailArrayOutput

func (GetModelFineTuneDetailArrayOutput) ToGetModelFineTuneDetailArrayOutputWithContext

func (o GetModelFineTuneDetailArrayOutput) ToGetModelFineTuneDetailArrayOutputWithContext(ctx context.Context) GetModelFineTuneDetailArrayOutput

type GetModelFineTuneDetailInput

type GetModelFineTuneDetailInput interface {
	pulumi.Input

	ToGetModelFineTuneDetailOutput() GetModelFineTuneDetailOutput
	ToGetModelFineTuneDetailOutputWithContext(context.Context) GetModelFineTuneDetailOutput
}

GetModelFineTuneDetailInput is an input type that accepts GetModelFineTuneDetailArgs and GetModelFineTuneDetailOutput values. You can construct a concrete instance of `GetModelFineTuneDetailInput` via:

GetModelFineTuneDetailArgs{...}

type GetModelFineTuneDetailOutput

type GetModelFineTuneDetailOutput struct{ *pulumi.OutputState }

func (GetModelFineTuneDetailOutput) DedicatedAiClusterId

func (o GetModelFineTuneDetailOutput) DedicatedAiClusterId() pulumi.StringOutput

The OCID of the dedicated AI cluster this fine-tuning runs on.

func (GetModelFineTuneDetailOutput) ElementType

func (GetModelFineTuneDetailOutput) ToGetModelFineTuneDetailOutput

func (o GetModelFineTuneDetailOutput) ToGetModelFineTuneDetailOutput() GetModelFineTuneDetailOutput

func (GetModelFineTuneDetailOutput) ToGetModelFineTuneDetailOutputWithContext

func (o GetModelFineTuneDetailOutput) ToGetModelFineTuneDetailOutputWithContext(ctx context.Context) GetModelFineTuneDetailOutput

func (GetModelFineTuneDetailOutput) TrainingConfigs

The fine-tuning method and hyperparameters used for fine-tuning a custom model.

func (GetModelFineTuneDetailOutput) TrainingDatasets

The dataset used to fine-tune the model.

type GetModelFineTuneDetailTrainingConfig

type GetModelFineTuneDetailTrainingConfig struct {
	// Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
	EarlyStoppingPatience int `pulumi:"earlyStoppingPatience"`
	// How much the loss must improve to prevent early stopping.
	EarlyStoppingThreshold float64 `pulumi:"earlyStoppingThreshold"`
	// The initial learning rate to be used during training
	LearningRate float64 `pulumi:"learningRate"`
	// Determines how frequently to log model metrics.
	LogModelMetricsIntervalInSteps int `pulumi:"logModelMetricsIntervalInSteps"`
	// The number of last layers to be fine-tuned.
	NumOfLastLayers int `pulumi:"numOfLastLayers"`
	// The maximum number of training epochs to run for.
	TotalTrainingEpochs int `pulumi:"totalTrainingEpochs"`
	// The batch size used during training.
	TrainingBatchSize int `pulumi:"trainingBatchSize"`
	// The fine-tuning method for training a custom model.
	TrainingConfigType string `pulumi:"trainingConfigType"`
}

type GetModelFineTuneDetailTrainingConfigArgs

type GetModelFineTuneDetailTrainingConfigArgs struct {
	// Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
	EarlyStoppingPatience pulumi.IntInput `pulumi:"earlyStoppingPatience"`
	// How much the loss must improve to prevent early stopping.
	EarlyStoppingThreshold pulumi.Float64Input `pulumi:"earlyStoppingThreshold"`
	// The initial learning rate to be used during training
	LearningRate pulumi.Float64Input `pulumi:"learningRate"`
	// Determines how frequently to log model metrics.
	LogModelMetricsIntervalInSteps pulumi.IntInput `pulumi:"logModelMetricsIntervalInSteps"`
	// The number of last layers to be fine-tuned.
	NumOfLastLayers pulumi.IntInput `pulumi:"numOfLastLayers"`
	// The maximum number of training epochs to run for.
	TotalTrainingEpochs pulumi.IntInput `pulumi:"totalTrainingEpochs"`
	// The batch size used during training.
	TrainingBatchSize pulumi.IntInput `pulumi:"trainingBatchSize"`
	// The fine-tuning method for training a custom model.
	TrainingConfigType pulumi.StringInput `pulumi:"trainingConfigType"`
}

func (GetModelFineTuneDetailTrainingConfigArgs) ElementType

func (GetModelFineTuneDetailTrainingConfigArgs) ToGetModelFineTuneDetailTrainingConfigOutput

func (i GetModelFineTuneDetailTrainingConfigArgs) ToGetModelFineTuneDetailTrainingConfigOutput() GetModelFineTuneDetailTrainingConfigOutput

func (GetModelFineTuneDetailTrainingConfigArgs) ToGetModelFineTuneDetailTrainingConfigOutputWithContext

func (i GetModelFineTuneDetailTrainingConfigArgs) ToGetModelFineTuneDetailTrainingConfigOutputWithContext(ctx context.Context) GetModelFineTuneDetailTrainingConfigOutput

type GetModelFineTuneDetailTrainingConfigArray

type GetModelFineTuneDetailTrainingConfigArray []GetModelFineTuneDetailTrainingConfigInput

func (GetModelFineTuneDetailTrainingConfigArray) ElementType

func (GetModelFineTuneDetailTrainingConfigArray) ToGetModelFineTuneDetailTrainingConfigArrayOutput

func (i GetModelFineTuneDetailTrainingConfigArray) ToGetModelFineTuneDetailTrainingConfigArrayOutput() GetModelFineTuneDetailTrainingConfigArrayOutput

func (GetModelFineTuneDetailTrainingConfigArray) ToGetModelFineTuneDetailTrainingConfigArrayOutputWithContext

func (i GetModelFineTuneDetailTrainingConfigArray) ToGetModelFineTuneDetailTrainingConfigArrayOutputWithContext(ctx context.Context) GetModelFineTuneDetailTrainingConfigArrayOutput

type GetModelFineTuneDetailTrainingConfigArrayInput

type GetModelFineTuneDetailTrainingConfigArrayInput interface {
	pulumi.Input

	ToGetModelFineTuneDetailTrainingConfigArrayOutput() GetModelFineTuneDetailTrainingConfigArrayOutput
	ToGetModelFineTuneDetailTrainingConfigArrayOutputWithContext(context.Context) GetModelFineTuneDetailTrainingConfigArrayOutput
}

GetModelFineTuneDetailTrainingConfigArrayInput is an input type that accepts GetModelFineTuneDetailTrainingConfigArray and GetModelFineTuneDetailTrainingConfigArrayOutput values. You can construct a concrete instance of `GetModelFineTuneDetailTrainingConfigArrayInput` via:

GetModelFineTuneDetailTrainingConfigArray{ GetModelFineTuneDetailTrainingConfigArgs{...} }

type GetModelFineTuneDetailTrainingConfigArrayOutput

type GetModelFineTuneDetailTrainingConfigArrayOutput struct{ *pulumi.OutputState }

func (GetModelFineTuneDetailTrainingConfigArrayOutput) ElementType

func (GetModelFineTuneDetailTrainingConfigArrayOutput) Index

func (GetModelFineTuneDetailTrainingConfigArrayOutput) ToGetModelFineTuneDetailTrainingConfigArrayOutput

func (o GetModelFineTuneDetailTrainingConfigArrayOutput) ToGetModelFineTuneDetailTrainingConfigArrayOutput() GetModelFineTuneDetailTrainingConfigArrayOutput

func (GetModelFineTuneDetailTrainingConfigArrayOutput) ToGetModelFineTuneDetailTrainingConfigArrayOutputWithContext

func (o GetModelFineTuneDetailTrainingConfigArrayOutput) ToGetModelFineTuneDetailTrainingConfigArrayOutputWithContext(ctx context.Context) GetModelFineTuneDetailTrainingConfigArrayOutput

type GetModelFineTuneDetailTrainingConfigInput

type GetModelFineTuneDetailTrainingConfigInput interface {
	pulumi.Input

	ToGetModelFineTuneDetailTrainingConfigOutput() GetModelFineTuneDetailTrainingConfigOutput
	ToGetModelFineTuneDetailTrainingConfigOutputWithContext(context.Context) GetModelFineTuneDetailTrainingConfigOutput
}

GetModelFineTuneDetailTrainingConfigInput is an input type that accepts GetModelFineTuneDetailTrainingConfigArgs and GetModelFineTuneDetailTrainingConfigOutput values. You can construct a concrete instance of `GetModelFineTuneDetailTrainingConfigInput` via:

GetModelFineTuneDetailTrainingConfigArgs{...}

type GetModelFineTuneDetailTrainingConfigOutput

type GetModelFineTuneDetailTrainingConfigOutput struct{ *pulumi.OutputState }

func (GetModelFineTuneDetailTrainingConfigOutput) EarlyStoppingPatience

Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.

func (GetModelFineTuneDetailTrainingConfigOutput) EarlyStoppingThreshold

How much the loss must improve to prevent early stopping.

func (GetModelFineTuneDetailTrainingConfigOutput) ElementType

func (GetModelFineTuneDetailTrainingConfigOutput) LearningRate

The initial learning rate to be used during training

func (GetModelFineTuneDetailTrainingConfigOutput) LogModelMetricsIntervalInSteps

func (o GetModelFineTuneDetailTrainingConfigOutput) LogModelMetricsIntervalInSteps() pulumi.IntOutput

Determines how frequently to log model metrics.

func (GetModelFineTuneDetailTrainingConfigOutput) NumOfLastLayers

The number of last layers to be fine-tuned.

func (GetModelFineTuneDetailTrainingConfigOutput) ToGetModelFineTuneDetailTrainingConfigOutput

func (o GetModelFineTuneDetailTrainingConfigOutput) ToGetModelFineTuneDetailTrainingConfigOutput() GetModelFineTuneDetailTrainingConfigOutput

func (GetModelFineTuneDetailTrainingConfigOutput) ToGetModelFineTuneDetailTrainingConfigOutputWithContext

func (o GetModelFineTuneDetailTrainingConfigOutput) ToGetModelFineTuneDetailTrainingConfigOutputWithContext(ctx context.Context) GetModelFineTuneDetailTrainingConfigOutput

func (GetModelFineTuneDetailTrainingConfigOutput) TotalTrainingEpochs

The maximum number of training epochs to run for.

func (GetModelFineTuneDetailTrainingConfigOutput) TrainingBatchSize

The batch size used during training.

func (GetModelFineTuneDetailTrainingConfigOutput) TrainingConfigType

The fine-tuning method for training a custom model.

type GetModelFineTuneDetailTrainingDataset

type GetModelFineTuneDetailTrainingDataset struct {
	// The Object Storage bucket name.
	Bucket string `pulumi:"bucket"`
	// The type of the data asset.
	DatasetType string `pulumi:"datasetType"`
	// The Object Storage namespace.
	Namespace string `pulumi:"namespace"`
	// The Object Storage object name.
	Object string `pulumi:"object"`
}

type GetModelFineTuneDetailTrainingDatasetArgs

type GetModelFineTuneDetailTrainingDatasetArgs struct {
	// The Object Storage bucket name.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The type of the data asset.
	DatasetType pulumi.StringInput `pulumi:"datasetType"`
	// The Object Storage namespace.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The Object Storage object name.
	Object pulumi.StringInput `pulumi:"object"`
}

func (GetModelFineTuneDetailTrainingDatasetArgs) ElementType

func (GetModelFineTuneDetailTrainingDatasetArgs) ToGetModelFineTuneDetailTrainingDatasetOutput

func (i GetModelFineTuneDetailTrainingDatasetArgs) ToGetModelFineTuneDetailTrainingDatasetOutput() GetModelFineTuneDetailTrainingDatasetOutput

func (GetModelFineTuneDetailTrainingDatasetArgs) ToGetModelFineTuneDetailTrainingDatasetOutputWithContext

func (i GetModelFineTuneDetailTrainingDatasetArgs) ToGetModelFineTuneDetailTrainingDatasetOutputWithContext(ctx context.Context) GetModelFineTuneDetailTrainingDatasetOutput

type GetModelFineTuneDetailTrainingDatasetArray

type GetModelFineTuneDetailTrainingDatasetArray []GetModelFineTuneDetailTrainingDatasetInput

func (GetModelFineTuneDetailTrainingDatasetArray) ElementType

func (GetModelFineTuneDetailTrainingDatasetArray) ToGetModelFineTuneDetailTrainingDatasetArrayOutput

func (i GetModelFineTuneDetailTrainingDatasetArray) ToGetModelFineTuneDetailTrainingDatasetArrayOutput() GetModelFineTuneDetailTrainingDatasetArrayOutput

func (GetModelFineTuneDetailTrainingDatasetArray) ToGetModelFineTuneDetailTrainingDatasetArrayOutputWithContext

func (i GetModelFineTuneDetailTrainingDatasetArray) ToGetModelFineTuneDetailTrainingDatasetArrayOutputWithContext(ctx context.Context) GetModelFineTuneDetailTrainingDatasetArrayOutput

type GetModelFineTuneDetailTrainingDatasetArrayInput

type GetModelFineTuneDetailTrainingDatasetArrayInput interface {
	pulumi.Input

	ToGetModelFineTuneDetailTrainingDatasetArrayOutput() GetModelFineTuneDetailTrainingDatasetArrayOutput
	ToGetModelFineTuneDetailTrainingDatasetArrayOutputWithContext(context.Context) GetModelFineTuneDetailTrainingDatasetArrayOutput
}

GetModelFineTuneDetailTrainingDatasetArrayInput is an input type that accepts GetModelFineTuneDetailTrainingDatasetArray and GetModelFineTuneDetailTrainingDatasetArrayOutput values. You can construct a concrete instance of `GetModelFineTuneDetailTrainingDatasetArrayInput` via:

GetModelFineTuneDetailTrainingDatasetArray{ GetModelFineTuneDetailTrainingDatasetArgs{...} }

type GetModelFineTuneDetailTrainingDatasetArrayOutput

type GetModelFineTuneDetailTrainingDatasetArrayOutput struct{ *pulumi.OutputState }

func (GetModelFineTuneDetailTrainingDatasetArrayOutput) ElementType

func (GetModelFineTuneDetailTrainingDatasetArrayOutput) Index

func (GetModelFineTuneDetailTrainingDatasetArrayOutput) ToGetModelFineTuneDetailTrainingDatasetArrayOutput

func (o GetModelFineTuneDetailTrainingDatasetArrayOutput) ToGetModelFineTuneDetailTrainingDatasetArrayOutput() GetModelFineTuneDetailTrainingDatasetArrayOutput

func (GetModelFineTuneDetailTrainingDatasetArrayOutput) ToGetModelFineTuneDetailTrainingDatasetArrayOutputWithContext

func (o GetModelFineTuneDetailTrainingDatasetArrayOutput) ToGetModelFineTuneDetailTrainingDatasetArrayOutputWithContext(ctx context.Context) GetModelFineTuneDetailTrainingDatasetArrayOutput

type GetModelFineTuneDetailTrainingDatasetInput

type GetModelFineTuneDetailTrainingDatasetInput interface {
	pulumi.Input

	ToGetModelFineTuneDetailTrainingDatasetOutput() GetModelFineTuneDetailTrainingDatasetOutput
	ToGetModelFineTuneDetailTrainingDatasetOutputWithContext(context.Context) GetModelFineTuneDetailTrainingDatasetOutput
}

GetModelFineTuneDetailTrainingDatasetInput is an input type that accepts GetModelFineTuneDetailTrainingDatasetArgs and GetModelFineTuneDetailTrainingDatasetOutput values. You can construct a concrete instance of `GetModelFineTuneDetailTrainingDatasetInput` via:

GetModelFineTuneDetailTrainingDatasetArgs{...}

type GetModelFineTuneDetailTrainingDatasetOutput

type GetModelFineTuneDetailTrainingDatasetOutput struct{ *pulumi.OutputState }

func (GetModelFineTuneDetailTrainingDatasetOutput) Bucket

The Object Storage bucket name.

func (GetModelFineTuneDetailTrainingDatasetOutput) DatasetType

The type of the data asset.

func (GetModelFineTuneDetailTrainingDatasetOutput) ElementType

func (GetModelFineTuneDetailTrainingDatasetOutput) Namespace

The Object Storage namespace.

func (GetModelFineTuneDetailTrainingDatasetOutput) Object

The Object Storage object name.

func (GetModelFineTuneDetailTrainingDatasetOutput) ToGetModelFineTuneDetailTrainingDatasetOutput

func (o GetModelFineTuneDetailTrainingDatasetOutput) ToGetModelFineTuneDetailTrainingDatasetOutput() GetModelFineTuneDetailTrainingDatasetOutput

func (GetModelFineTuneDetailTrainingDatasetOutput) ToGetModelFineTuneDetailTrainingDatasetOutputWithContext

func (o GetModelFineTuneDetailTrainingDatasetOutput) ToGetModelFineTuneDetailTrainingDatasetOutputWithContext(ctx context.Context) GetModelFineTuneDetailTrainingDatasetOutput

type GetModelModelMetric

type GetModelModelMetric struct {
	// Fine-tuned model accuracy.
	FinalAccuracy float64 `pulumi:"finalAccuracy"`
	// Fine-tuned model loss.
	FinalLoss float64 `pulumi:"finalLoss"`
	// The type of the model metrics. Each type of model can expect a different set of model metrics.
	ModelMetricsType string `pulumi:"modelMetricsType"`
}

type GetModelModelMetricArgs

type GetModelModelMetricArgs struct {
	// Fine-tuned model accuracy.
	FinalAccuracy pulumi.Float64Input `pulumi:"finalAccuracy"`
	// Fine-tuned model loss.
	FinalLoss pulumi.Float64Input `pulumi:"finalLoss"`
	// The type of the model metrics. Each type of model can expect a different set of model metrics.
	ModelMetricsType pulumi.StringInput `pulumi:"modelMetricsType"`
}

func (GetModelModelMetricArgs) ElementType

func (GetModelModelMetricArgs) ElementType() reflect.Type

func (GetModelModelMetricArgs) ToGetModelModelMetricOutput

func (i GetModelModelMetricArgs) ToGetModelModelMetricOutput() GetModelModelMetricOutput

func (GetModelModelMetricArgs) ToGetModelModelMetricOutputWithContext

func (i GetModelModelMetricArgs) ToGetModelModelMetricOutputWithContext(ctx context.Context) GetModelModelMetricOutput

type GetModelModelMetricArray

type GetModelModelMetricArray []GetModelModelMetricInput

func (GetModelModelMetricArray) ElementType

func (GetModelModelMetricArray) ElementType() reflect.Type

func (GetModelModelMetricArray) ToGetModelModelMetricArrayOutput

func (i GetModelModelMetricArray) ToGetModelModelMetricArrayOutput() GetModelModelMetricArrayOutput

func (GetModelModelMetricArray) ToGetModelModelMetricArrayOutputWithContext

func (i GetModelModelMetricArray) ToGetModelModelMetricArrayOutputWithContext(ctx context.Context) GetModelModelMetricArrayOutput

type GetModelModelMetricArrayInput

type GetModelModelMetricArrayInput interface {
	pulumi.Input

	ToGetModelModelMetricArrayOutput() GetModelModelMetricArrayOutput
	ToGetModelModelMetricArrayOutputWithContext(context.Context) GetModelModelMetricArrayOutput
}

GetModelModelMetricArrayInput is an input type that accepts GetModelModelMetricArray and GetModelModelMetricArrayOutput values. You can construct a concrete instance of `GetModelModelMetricArrayInput` via:

GetModelModelMetricArray{ GetModelModelMetricArgs{...} }

type GetModelModelMetricArrayOutput

type GetModelModelMetricArrayOutput struct{ *pulumi.OutputState }

func (GetModelModelMetricArrayOutput) ElementType

func (GetModelModelMetricArrayOutput) Index

func (GetModelModelMetricArrayOutput) ToGetModelModelMetricArrayOutput

func (o GetModelModelMetricArrayOutput) ToGetModelModelMetricArrayOutput() GetModelModelMetricArrayOutput

func (GetModelModelMetricArrayOutput) ToGetModelModelMetricArrayOutputWithContext

func (o GetModelModelMetricArrayOutput) ToGetModelModelMetricArrayOutputWithContext(ctx context.Context) GetModelModelMetricArrayOutput

type GetModelModelMetricInput

type GetModelModelMetricInput interface {
	pulumi.Input

	ToGetModelModelMetricOutput() GetModelModelMetricOutput
	ToGetModelModelMetricOutputWithContext(context.Context) GetModelModelMetricOutput
}

GetModelModelMetricInput is an input type that accepts GetModelModelMetricArgs and GetModelModelMetricOutput values. You can construct a concrete instance of `GetModelModelMetricInput` via:

GetModelModelMetricArgs{...}

type GetModelModelMetricOutput

type GetModelModelMetricOutput struct{ *pulumi.OutputState }

func (GetModelModelMetricOutput) ElementType

func (GetModelModelMetricOutput) ElementType() reflect.Type

func (GetModelModelMetricOutput) FinalAccuracy

Fine-tuned model accuracy.

func (GetModelModelMetricOutput) FinalLoss

Fine-tuned model loss.

func (GetModelModelMetricOutput) ModelMetricsType

func (o GetModelModelMetricOutput) ModelMetricsType() pulumi.StringOutput

The type of the model metrics. Each type of model can expect a different set of model metrics.

func (GetModelModelMetricOutput) ToGetModelModelMetricOutput

func (o GetModelModelMetricOutput) ToGetModelModelMetricOutput() GetModelModelMetricOutput

func (GetModelModelMetricOutput) ToGetModelModelMetricOutputWithContext

func (o GetModelModelMetricOutput) ToGetModelModelMetricOutputWithContext(ctx context.Context) GetModelModelMetricOutput

type GetModelsArgs

type GetModelsArgs struct {
	// A filter to return only resources their capability matches the given capability.
	Capabilities []string `pulumi:"capabilities"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId string `pulumi:"compartmentId"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName *string           `pulumi:"displayName"`
	Filters     []GetModelsFilter `pulumi:"filters"`
	// The ID of the model.
	Id *string `pulumi:"id"`
	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	State *string `pulumi:"state"`
	// A filter to return only resources that match the entire vendor given.
	Vendor *string `pulumi:"vendor"`
}

A collection of arguments for invoking getModels.

type GetModelsFilter

type GetModelsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetModelsFilterArgs

type GetModelsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetModelsFilterArgs) ElementType

func (GetModelsFilterArgs) ElementType() reflect.Type

func (GetModelsFilterArgs) ToGetModelsFilterOutput

func (i GetModelsFilterArgs) ToGetModelsFilterOutput() GetModelsFilterOutput

func (GetModelsFilterArgs) ToGetModelsFilterOutputWithContext

func (i GetModelsFilterArgs) ToGetModelsFilterOutputWithContext(ctx context.Context) GetModelsFilterOutput

type GetModelsFilterArray

type GetModelsFilterArray []GetModelsFilterInput

func (GetModelsFilterArray) ElementType

func (GetModelsFilterArray) ElementType() reflect.Type

func (GetModelsFilterArray) ToGetModelsFilterArrayOutput

func (i GetModelsFilterArray) ToGetModelsFilterArrayOutput() GetModelsFilterArrayOutput

func (GetModelsFilterArray) ToGetModelsFilterArrayOutputWithContext

func (i GetModelsFilterArray) ToGetModelsFilterArrayOutputWithContext(ctx context.Context) GetModelsFilterArrayOutput

type GetModelsFilterArrayInput

type GetModelsFilterArrayInput interface {
	pulumi.Input

	ToGetModelsFilterArrayOutput() GetModelsFilterArrayOutput
	ToGetModelsFilterArrayOutputWithContext(context.Context) GetModelsFilterArrayOutput
}

GetModelsFilterArrayInput is an input type that accepts GetModelsFilterArray and GetModelsFilterArrayOutput values. You can construct a concrete instance of `GetModelsFilterArrayInput` via:

GetModelsFilterArray{ GetModelsFilterArgs{...} }

type GetModelsFilterArrayOutput

type GetModelsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetModelsFilterArrayOutput) ElementType

func (GetModelsFilterArrayOutput) ElementType() reflect.Type

func (GetModelsFilterArrayOutput) Index

func (GetModelsFilterArrayOutput) ToGetModelsFilterArrayOutput

func (o GetModelsFilterArrayOutput) ToGetModelsFilterArrayOutput() GetModelsFilterArrayOutput

func (GetModelsFilterArrayOutput) ToGetModelsFilterArrayOutputWithContext

func (o GetModelsFilterArrayOutput) ToGetModelsFilterArrayOutputWithContext(ctx context.Context) GetModelsFilterArrayOutput

type GetModelsFilterInput

type GetModelsFilterInput interface {
	pulumi.Input

	ToGetModelsFilterOutput() GetModelsFilterOutput
	ToGetModelsFilterOutputWithContext(context.Context) GetModelsFilterOutput
}

GetModelsFilterInput is an input type that accepts GetModelsFilterArgs and GetModelsFilterOutput values. You can construct a concrete instance of `GetModelsFilterInput` via:

GetModelsFilterArgs{...}

type GetModelsFilterOutput

type GetModelsFilterOutput struct{ *pulumi.OutputState }

func (GetModelsFilterOutput) ElementType

func (GetModelsFilterOutput) ElementType() reflect.Type

func (GetModelsFilterOutput) Name

func (GetModelsFilterOutput) Regex

func (GetModelsFilterOutput) ToGetModelsFilterOutput

func (o GetModelsFilterOutput) ToGetModelsFilterOutput() GetModelsFilterOutput

func (GetModelsFilterOutput) ToGetModelsFilterOutputWithContext

func (o GetModelsFilterOutput) ToGetModelsFilterOutputWithContext(ctx context.Context) GetModelsFilterOutput

func (GetModelsFilterOutput) Values

type GetModelsModelCollection

type GetModelsModelCollection struct {
	Items []GetModelsModelCollectionItem `pulumi:"items"`
}

type GetModelsModelCollectionArgs

type GetModelsModelCollectionArgs struct {
	Items GetModelsModelCollectionItemArrayInput `pulumi:"items"`
}

func (GetModelsModelCollectionArgs) ElementType

func (GetModelsModelCollectionArgs) ToGetModelsModelCollectionOutput

func (i GetModelsModelCollectionArgs) ToGetModelsModelCollectionOutput() GetModelsModelCollectionOutput

func (GetModelsModelCollectionArgs) ToGetModelsModelCollectionOutputWithContext

func (i GetModelsModelCollectionArgs) ToGetModelsModelCollectionOutputWithContext(ctx context.Context) GetModelsModelCollectionOutput

type GetModelsModelCollectionArray

type GetModelsModelCollectionArray []GetModelsModelCollectionInput

func (GetModelsModelCollectionArray) ElementType

func (GetModelsModelCollectionArray) ToGetModelsModelCollectionArrayOutput

func (i GetModelsModelCollectionArray) ToGetModelsModelCollectionArrayOutput() GetModelsModelCollectionArrayOutput

func (GetModelsModelCollectionArray) ToGetModelsModelCollectionArrayOutputWithContext

func (i GetModelsModelCollectionArray) ToGetModelsModelCollectionArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionArrayOutput

type GetModelsModelCollectionArrayInput

type GetModelsModelCollectionArrayInput interface {
	pulumi.Input

	ToGetModelsModelCollectionArrayOutput() GetModelsModelCollectionArrayOutput
	ToGetModelsModelCollectionArrayOutputWithContext(context.Context) GetModelsModelCollectionArrayOutput
}

GetModelsModelCollectionArrayInput is an input type that accepts GetModelsModelCollectionArray and GetModelsModelCollectionArrayOutput values. You can construct a concrete instance of `GetModelsModelCollectionArrayInput` via:

GetModelsModelCollectionArray{ GetModelsModelCollectionArgs{...} }

type GetModelsModelCollectionArrayOutput

type GetModelsModelCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionArrayOutput) ElementType

func (GetModelsModelCollectionArrayOutput) Index

func (GetModelsModelCollectionArrayOutput) ToGetModelsModelCollectionArrayOutput

func (o GetModelsModelCollectionArrayOutput) ToGetModelsModelCollectionArrayOutput() GetModelsModelCollectionArrayOutput

func (GetModelsModelCollectionArrayOutput) ToGetModelsModelCollectionArrayOutputWithContext

func (o GetModelsModelCollectionArrayOutput) ToGetModelsModelCollectionArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionArrayOutput

type GetModelsModelCollectionInput

type GetModelsModelCollectionInput interface {
	pulumi.Input

	ToGetModelsModelCollectionOutput() GetModelsModelCollectionOutput
	ToGetModelsModelCollectionOutputWithContext(context.Context) GetModelsModelCollectionOutput
}

GetModelsModelCollectionInput is an input type that accepts GetModelsModelCollectionArgs and GetModelsModelCollectionOutput values. You can construct a concrete instance of `GetModelsModelCollectionInput` via:

GetModelsModelCollectionArgs{...}

type GetModelsModelCollectionItem

type GetModelsModelCollectionItem struct {
	// The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.
	BaseModelId string `pulumi:"baseModelId"`
	// Describes what this model can be used for.
	Capabilities []string `pulumi:"capabilities"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// An optional description of the model.
	Description string `pulumi:"description"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName string `pulumi:"displayName"`
	// Details about fine-tuning a custom model.
	FineTuneDetails []GetModelsModelCollectionItemFineTuneDetail `pulumi:"fineTuneDetails"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The ID of the model.
	Id string `pulumi:"id"`
	// Whether a model is supported long-term. Only applicable to base models.
	IsLongTermSupported bool `pulumi:"isLongTermSupported"`
	// A message describing the current state of the model in more detail that can provide actionable information.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// Model metrics during the creation of a new model.
	ModelMetrics []GetModelsModelCollectionItemModelMetric `pulumi:"modelMetrics"`
	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	State string `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The date and time that the model was created in the format of an RFC3339 datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// Corresponds to the time when the custom model and its associated foundation model will be deprecated.
	TimeDeprecated string `pulumi:"timeDeprecated"`
	// The date and time that the model was updated in the format of an RFC3339 datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
	// The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.
	Type string `pulumi:"type"`
	// A filter to return only resources that match the entire vendor given.
	Vendor string `pulumi:"vendor"`
	// The version of the model.
	Version string `pulumi:"version"`
}

type GetModelsModelCollectionItemArgs

type GetModelsModelCollectionItemArgs struct {
	// The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.
	BaseModelId pulumi.StringInput `pulumi:"baseModelId"`
	// Describes what this model can be used for.
	Capabilities pulumi.StringArrayInput `pulumi:"capabilities"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// An optional description of the model.
	Description pulumi.StringInput `pulumi:"description"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Details about fine-tuning a custom model.
	FineTuneDetails GetModelsModelCollectionItemFineTuneDetailArrayInput `pulumi:"fineTuneDetails"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The ID of the model.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether a model is supported long-term. Only applicable to base models.
	IsLongTermSupported pulumi.BoolInput `pulumi:"isLongTermSupported"`
	// A message describing the current state of the model in more detail that can provide actionable information.
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// Model metrics during the creation of a new model.
	ModelMetrics GetModelsModelCollectionItemModelMetricArrayInput `pulumi:"modelMetrics"`
	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	State pulumi.StringInput `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput `pulumi:"systemTags"`
	// The date and time that the model was created in the format of an RFC3339 datetime string.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// Corresponds to the time when the custom model and its associated foundation model will be deprecated.
	TimeDeprecated pulumi.StringInput `pulumi:"timeDeprecated"`
	// The date and time that the model was updated in the format of an RFC3339 datetime string.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
	// The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.
	Type pulumi.StringInput `pulumi:"type"`
	// A filter to return only resources that match the entire vendor given.
	Vendor pulumi.StringInput `pulumi:"vendor"`
	// The version of the model.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetModelsModelCollectionItemArgs) ElementType

func (GetModelsModelCollectionItemArgs) ToGetModelsModelCollectionItemOutput

func (i GetModelsModelCollectionItemArgs) ToGetModelsModelCollectionItemOutput() GetModelsModelCollectionItemOutput

func (GetModelsModelCollectionItemArgs) ToGetModelsModelCollectionItemOutputWithContext

func (i GetModelsModelCollectionItemArgs) ToGetModelsModelCollectionItemOutputWithContext(ctx context.Context) GetModelsModelCollectionItemOutput

type GetModelsModelCollectionItemArray

type GetModelsModelCollectionItemArray []GetModelsModelCollectionItemInput

func (GetModelsModelCollectionItemArray) ElementType

func (GetModelsModelCollectionItemArray) ToGetModelsModelCollectionItemArrayOutput

func (i GetModelsModelCollectionItemArray) ToGetModelsModelCollectionItemArrayOutput() GetModelsModelCollectionItemArrayOutput

func (GetModelsModelCollectionItemArray) ToGetModelsModelCollectionItemArrayOutputWithContext

func (i GetModelsModelCollectionItemArray) ToGetModelsModelCollectionItemArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemArrayOutput

type GetModelsModelCollectionItemArrayInput

type GetModelsModelCollectionItemArrayInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemArrayOutput() GetModelsModelCollectionItemArrayOutput
	ToGetModelsModelCollectionItemArrayOutputWithContext(context.Context) GetModelsModelCollectionItemArrayOutput
}

GetModelsModelCollectionItemArrayInput is an input type that accepts GetModelsModelCollectionItemArray and GetModelsModelCollectionItemArrayOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemArrayInput` via:

GetModelsModelCollectionItemArray{ GetModelsModelCollectionItemArgs{...} }

type GetModelsModelCollectionItemArrayOutput

type GetModelsModelCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemArrayOutput) ElementType

func (GetModelsModelCollectionItemArrayOutput) Index

func (GetModelsModelCollectionItemArrayOutput) ToGetModelsModelCollectionItemArrayOutput

func (o GetModelsModelCollectionItemArrayOutput) ToGetModelsModelCollectionItemArrayOutput() GetModelsModelCollectionItemArrayOutput

func (GetModelsModelCollectionItemArrayOutput) ToGetModelsModelCollectionItemArrayOutputWithContext

func (o GetModelsModelCollectionItemArrayOutput) ToGetModelsModelCollectionItemArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemArrayOutput

type GetModelsModelCollectionItemFineTuneDetail

type GetModelsModelCollectionItemFineTuneDetail struct {
	// The OCID of the dedicated AI cluster this fine-tuning runs on.
	DedicatedAiClusterId string `pulumi:"dedicatedAiClusterId"`
	// The fine-tuning method and hyperparameters used for fine-tuning a custom model.
	TrainingConfigs []GetModelsModelCollectionItemFineTuneDetailTrainingConfig `pulumi:"trainingConfigs"`
	// The dataset used to fine-tune the model.
	TrainingDatasets []GetModelsModelCollectionItemFineTuneDetailTrainingDataset `pulumi:"trainingDatasets"`
}

type GetModelsModelCollectionItemFineTuneDetailArgs

type GetModelsModelCollectionItemFineTuneDetailArgs struct {
	// The OCID of the dedicated AI cluster this fine-tuning runs on.
	DedicatedAiClusterId pulumi.StringInput `pulumi:"dedicatedAiClusterId"`
	// The fine-tuning method and hyperparameters used for fine-tuning a custom model.
	TrainingConfigs GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayInput `pulumi:"trainingConfigs"`
	// The dataset used to fine-tune the model.
	TrainingDatasets GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayInput `pulumi:"trainingDatasets"`
}

func (GetModelsModelCollectionItemFineTuneDetailArgs) ElementType

func (GetModelsModelCollectionItemFineTuneDetailArgs) ToGetModelsModelCollectionItemFineTuneDetailOutput

func (i GetModelsModelCollectionItemFineTuneDetailArgs) ToGetModelsModelCollectionItemFineTuneDetailOutput() GetModelsModelCollectionItemFineTuneDetailOutput

func (GetModelsModelCollectionItemFineTuneDetailArgs) ToGetModelsModelCollectionItemFineTuneDetailOutputWithContext

func (i GetModelsModelCollectionItemFineTuneDetailArgs) ToGetModelsModelCollectionItemFineTuneDetailOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailOutput

type GetModelsModelCollectionItemFineTuneDetailArray

type GetModelsModelCollectionItemFineTuneDetailArray []GetModelsModelCollectionItemFineTuneDetailInput

func (GetModelsModelCollectionItemFineTuneDetailArray) ElementType

func (GetModelsModelCollectionItemFineTuneDetailArray) ToGetModelsModelCollectionItemFineTuneDetailArrayOutput

func (i GetModelsModelCollectionItemFineTuneDetailArray) ToGetModelsModelCollectionItemFineTuneDetailArrayOutput() GetModelsModelCollectionItemFineTuneDetailArrayOutput

func (GetModelsModelCollectionItemFineTuneDetailArray) ToGetModelsModelCollectionItemFineTuneDetailArrayOutputWithContext

func (i GetModelsModelCollectionItemFineTuneDetailArray) ToGetModelsModelCollectionItemFineTuneDetailArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailArrayOutput

type GetModelsModelCollectionItemFineTuneDetailArrayInput

type GetModelsModelCollectionItemFineTuneDetailArrayInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemFineTuneDetailArrayOutput() GetModelsModelCollectionItemFineTuneDetailArrayOutput
	ToGetModelsModelCollectionItemFineTuneDetailArrayOutputWithContext(context.Context) GetModelsModelCollectionItemFineTuneDetailArrayOutput
}

GetModelsModelCollectionItemFineTuneDetailArrayInput is an input type that accepts GetModelsModelCollectionItemFineTuneDetailArray and GetModelsModelCollectionItemFineTuneDetailArrayOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemFineTuneDetailArrayInput` via:

GetModelsModelCollectionItemFineTuneDetailArray{ GetModelsModelCollectionItemFineTuneDetailArgs{...} }

type GetModelsModelCollectionItemFineTuneDetailArrayOutput

type GetModelsModelCollectionItemFineTuneDetailArrayOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemFineTuneDetailArrayOutput) ElementType

func (GetModelsModelCollectionItemFineTuneDetailArrayOutput) Index

func (GetModelsModelCollectionItemFineTuneDetailArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailArrayOutput

func (GetModelsModelCollectionItemFineTuneDetailArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailArrayOutputWithContext

func (o GetModelsModelCollectionItemFineTuneDetailArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailArrayOutput

type GetModelsModelCollectionItemFineTuneDetailInput

type GetModelsModelCollectionItemFineTuneDetailInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemFineTuneDetailOutput() GetModelsModelCollectionItemFineTuneDetailOutput
	ToGetModelsModelCollectionItemFineTuneDetailOutputWithContext(context.Context) GetModelsModelCollectionItemFineTuneDetailOutput
}

GetModelsModelCollectionItemFineTuneDetailInput is an input type that accepts GetModelsModelCollectionItemFineTuneDetailArgs and GetModelsModelCollectionItemFineTuneDetailOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemFineTuneDetailInput` via:

GetModelsModelCollectionItemFineTuneDetailArgs{...}

type GetModelsModelCollectionItemFineTuneDetailOutput

type GetModelsModelCollectionItemFineTuneDetailOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemFineTuneDetailOutput) DedicatedAiClusterId

The OCID of the dedicated AI cluster this fine-tuning runs on.

func (GetModelsModelCollectionItemFineTuneDetailOutput) ElementType

func (GetModelsModelCollectionItemFineTuneDetailOutput) ToGetModelsModelCollectionItemFineTuneDetailOutput

func (o GetModelsModelCollectionItemFineTuneDetailOutput) ToGetModelsModelCollectionItemFineTuneDetailOutput() GetModelsModelCollectionItemFineTuneDetailOutput

func (GetModelsModelCollectionItemFineTuneDetailOutput) ToGetModelsModelCollectionItemFineTuneDetailOutputWithContext

func (o GetModelsModelCollectionItemFineTuneDetailOutput) ToGetModelsModelCollectionItemFineTuneDetailOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailOutput

func (GetModelsModelCollectionItemFineTuneDetailOutput) TrainingConfigs

The fine-tuning method and hyperparameters used for fine-tuning a custom model.

func (GetModelsModelCollectionItemFineTuneDetailOutput) TrainingDatasets

The dataset used to fine-tune the model.

type GetModelsModelCollectionItemFineTuneDetailTrainingConfig

type GetModelsModelCollectionItemFineTuneDetailTrainingConfig struct {
	// Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
	EarlyStoppingPatience int `pulumi:"earlyStoppingPatience"`
	// How much the loss must improve to prevent early stopping.
	EarlyStoppingThreshold float64 `pulumi:"earlyStoppingThreshold"`
	// The initial learning rate to be used during training
	LearningRate float64 `pulumi:"learningRate"`
	// Determines how frequently to log model metrics.
	LogModelMetricsIntervalInSteps int `pulumi:"logModelMetricsIntervalInSteps"`
	// The number of last layers to be fine-tuned.
	NumOfLastLayers int `pulumi:"numOfLastLayers"`
	// The maximum number of training epochs to run for.
	TotalTrainingEpochs int `pulumi:"totalTrainingEpochs"`
	// The batch size used during training.
	TrainingBatchSize int `pulumi:"trainingBatchSize"`
	// The fine-tuning method for training a custom model.
	TrainingConfigType string `pulumi:"trainingConfigType"`
}

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs struct {
	// Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
	EarlyStoppingPatience pulumi.IntInput `pulumi:"earlyStoppingPatience"`
	// How much the loss must improve to prevent early stopping.
	EarlyStoppingThreshold pulumi.Float64Input `pulumi:"earlyStoppingThreshold"`
	// The initial learning rate to be used during training
	LearningRate pulumi.Float64Input `pulumi:"learningRate"`
	// Determines how frequently to log model metrics.
	LogModelMetricsIntervalInSteps pulumi.IntInput `pulumi:"logModelMetricsIntervalInSteps"`
	// The number of last layers to be fine-tuned.
	NumOfLastLayers pulumi.IntInput `pulumi:"numOfLastLayers"`
	// The maximum number of training epochs to run for.
	TotalTrainingEpochs pulumi.IntInput `pulumi:"totalTrainingEpochs"`
	// The batch size used during training.
	TrainingBatchSize pulumi.IntInput `pulumi:"trainingBatchSize"`
	// The fine-tuning method for training a custom model.
	TrainingConfigType pulumi.StringInput `pulumi:"trainingConfigType"`
}

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs) ElementType

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigOutputWithContext

func (i GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigArray

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigArray []GetModelsModelCollectionItemFineTuneDetailTrainingConfigInput

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArray) ElementType

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArray) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArray) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutputWithContext

func (i GetModelsModelCollectionItemFineTuneDetailTrainingConfigArray) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayInput

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput() GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput
	ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutputWithContext(context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput
}

GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayInput is an input type that accepts GetModelsModelCollectionItemFineTuneDetailTrainingConfigArray and GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayInput` via:

GetModelsModelCollectionItemFineTuneDetailTrainingConfigArray{ GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs{...} }

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput) ElementType

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput) Index

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutputWithContext

func (o GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingConfigArrayOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigInput

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput() GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput
	ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigOutputWithContext(context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput
}

GetModelsModelCollectionItemFineTuneDetailTrainingConfigInput is an input type that accepts GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs and GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemFineTuneDetailTrainingConfigInput` via:

GetModelsModelCollectionItemFineTuneDetailTrainingConfigArgs{...}

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) EarlyStoppingPatience

Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) EarlyStoppingThreshold

How much the loss must improve to prevent early stopping.

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) ElementType

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) LearningRate

The initial learning rate to be used during training

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) LogModelMetricsIntervalInSteps

Determines how frequently to log model metrics.

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) NumOfLastLayers

The number of last layers to be fine-tuned.

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigOutputWithContext

func (o GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingConfigOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) TotalTrainingEpochs

The maximum number of training epochs to run for.

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) TrainingBatchSize

The batch size used during training.

func (GetModelsModelCollectionItemFineTuneDetailTrainingConfigOutput) TrainingConfigType

The fine-tuning method for training a custom model.

type GetModelsModelCollectionItemFineTuneDetailTrainingDataset

type GetModelsModelCollectionItemFineTuneDetailTrainingDataset struct {
	// The Object Storage bucket name.
	Bucket string `pulumi:"bucket"`
	// The type of the data asset.
	DatasetType string `pulumi:"datasetType"`
	// The Object Storage namespace.
	Namespace string `pulumi:"namespace"`
	// The Object Storage object name.
	Object string `pulumi:"object"`
}

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs struct {
	// The Object Storage bucket name.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The type of the data asset.
	DatasetType pulumi.StringInput `pulumi:"datasetType"`
	// The Object Storage namespace.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The Object Storage object name.
	Object pulumi.StringInput `pulumi:"object"`
}

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs) ElementType

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutputWithContext

func (i GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArray

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArray []GetModelsModelCollectionItemFineTuneDetailTrainingDatasetInput

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArray) ElementType

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArray) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArray) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutputWithContext

func (i GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArray) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayInput

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput() GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput
	ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutputWithContext(context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput
}

GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayInput is an input type that accepts GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArray and GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayInput` via:

GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArray{ GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs{...} }

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput) ElementType

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutputWithContext

func (o GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArrayOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetInput

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput() GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput
	ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutputWithContext(context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput
}

GetModelsModelCollectionItemFineTuneDetailTrainingDatasetInput is an input type that accepts GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs and GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemFineTuneDetailTrainingDatasetInput` via:

GetModelsModelCollectionItemFineTuneDetailTrainingDatasetArgs{...}

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput

type GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput) Bucket

The Object Storage bucket name.

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput) DatasetType

The type of the data asset.

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput) ElementType

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput) Namespace

The Object Storage namespace.

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput) Object

The Object Storage object name.

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput

func (GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutputWithContext

func (o GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput) ToGetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutputWithContext(ctx context.Context) GetModelsModelCollectionItemFineTuneDetailTrainingDatasetOutput

type GetModelsModelCollectionItemInput

type GetModelsModelCollectionItemInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemOutput() GetModelsModelCollectionItemOutput
	ToGetModelsModelCollectionItemOutputWithContext(context.Context) GetModelsModelCollectionItemOutput
}

GetModelsModelCollectionItemInput is an input type that accepts GetModelsModelCollectionItemArgs and GetModelsModelCollectionItemOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemInput` via:

GetModelsModelCollectionItemArgs{...}

type GetModelsModelCollectionItemModelMetric

type GetModelsModelCollectionItemModelMetric struct {
	// Fine-tuned model accuracy.
	FinalAccuracy float64 `pulumi:"finalAccuracy"`
	// Fine-tuned model loss.
	FinalLoss float64 `pulumi:"finalLoss"`
	// The type of the model metrics. Each type of model can expect a different set of model metrics.
	ModelMetricsType string `pulumi:"modelMetricsType"`
}

type GetModelsModelCollectionItemModelMetricArgs

type GetModelsModelCollectionItemModelMetricArgs struct {
	// Fine-tuned model accuracy.
	FinalAccuracy pulumi.Float64Input `pulumi:"finalAccuracy"`
	// Fine-tuned model loss.
	FinalLoss pulumi.Float64Input `pulumi:"finalLoss"`
	// The type of the model metrics. Each type of model can expect a different set of model metrics.
	ModelMetricsType pulumi.StringInput `pulumi:"modelMetricsType"`
}

func (GetModelsModelCollectionItemModelMetricArgs) ElementType

func (GetModelsModelCollectionItemModelMetricArgs) ToGetModelsModelCollectionItemModelMetricOutput

func (i GetModelsModelCollectionItemModelMetricArgs) ToGetModelsModelCollectionItemModelMetricOutput() GetModelsModelCollectionItemModelMetricOutput

func (GetModelsModelCollectionItemModelMetricArgs) ToGetModelsModelCollectionItemModelMetricOutputWithContext

func (i GetModelsModelCollectionItemModelMetricArgs) ToGetModelsModelCollectionItemModelMetricOutputWithContext(ctx context.Context) GetModelsModelCollectionItemModelMetricOutput

type GetModelsModelCollectionItemModelMetricArray

type GetModelsModelCollectionItemModelMetricArray []GetModelsModelCollectionItemModelMetricInput

func (GetModelsModelCollectionItemModelMetricArray) ElementType

func (GetModelsModelCollectionItemModelMetricArray) ToGetModelsModelCollectionItemModelMetricArrayOutput

func (i GetModelsModelCollectionItemModelMetricArray) ToGetModelsModelCollectionItemModelMetricArrayOutput() GetModelsModelCollectionItemModelMetricArrayOutput

func (GetModelsModelCollectionItemModelMetricArray) ToGetModelsModelCollectionItemModelMetricArrayOutputWithContext

func (i GetModelsModelCollectionItemModelMetricArray) ToGetModelsModelCollectionItemModelMetricArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemModelMetricArrayOutput

type GetModelsModelCollectionItemModelMetricArrayInput

type GetModelsModelCollectionItemModelMetricArrayInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemModelMetricArrayOutput() GetModelsModelCollectionItemModelMetricArrayOutput
	ToGetModelsModelCollectionItemModelMetricArrayOutputWithContext(context.Context) GetModelsModelCollectionItemModelMetricArrayOutput
}

GetModelsModelCollectionItemModelMetricArrayInput is an input type that accepts GetModelsModelCollectionItemModelMetricArray and GetModelsModelCollectionItemModelMetricArrayOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemModelMetricArrayInput` via:

GetModelsModelCollectionItemModelMetricArray{ GetModelsModelCollectionItemModelMetricArgs{...} }

type GetModelsModelCollectionItemModelMetricArrayOutput

type GetModelsModelCollectionItemModelMetricArrayOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemModelMetricArrayOutput) ElementType

func (GetModelsModelCollectionItemModelMetricArrayOutput) Index

func (GetModelsModelCollectionItemModelMetricArrayOutput) ToGetModelsModelCollectionItemModelMetricArrayOutput

func (o GetModelsModelCollectionItemModelMetricArrayOutput) ToGetModelsModelCollectionItemModelMetricArrayOutput() GetModelsModelCollectionItemModelMetricArrayOutput

func (GetModelsModelCollectionItemModelMetricArrayOutput) ToGetModelsModelCollectionItemModelMetricArrayOutputWithContext

func (o GetModelsModelCollectionItemModelMetricArrayOutput) ToGetModelsModelCollectionItemModelMetricArrayOutputWithContext(ctx context.Context) GetModelsModelCollectionItemModelMetricArrayOutput

type GetModelsModelCollectionItemModelMetricInput

type GetModelsModelCollectionItemModelMetricInput interface {
	pulumi.Input

	ToGetModelsModelCollectionItemModelMetricOutput() GetModelsModelCollectionItemModelMetricOutput
	ToGetModelsModelCollectionItemModelMetricOutputWithContext(context.Context) GetModelsModelCollectionItemModelMetricOutput
}

GetModelsModelCollectionItemModelMetricInput is an input type that accepts GetModelsModelCollectionItemModelMetricArgs and GetModelsModelCollectionItemModelMetricOutput values. You can construct a concrete instance of `GetModelsModelCollectionItemModelMetricInput` via:

GetModelsModelCollectionItemModelMetricArgs{...}

type GetModelsModelCollectionItemModelMetricOutput

type GetModelsModelCollectionItemModelMetricOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemModelMetricOutput) ElementType

func (GetModelsModelCollectionItemModelMetricOutput) FinalAccuracy

Fine-tuned model accuracy.

func (GetModelsModelCollectionItemModelMetricOutput) FinalLoss

Fine-tuned model loss.

func (GetModelsModelCollectionItemModelMetricOutput) ModelMetricsType

The type of the model metrics. Each type of model can expect a different set of model metrics.

func (GetModelsModelCollectionItemModelMetricOutput) ToGetModelsModelCollectionItemModelMetricOutput

func (o GetModelsModelCollectionItemModelMetricOutput) ToGetModelsModelCollectionItemModelMetricOutput() GetModelsModelCollectionItemModelMetricOutput

func (GetModelsModelCollectionItemModelMetricOutput) ToGetModelsModelCollectionItemModelMetricOutputWithContext

func (o GetModelsModelCollectionItemModelMetricOutput) ToGetModelsModelCollectionItemModelMetricOutputWithContext(ctx context.Context) GetModelsModelCollectionItemModelMetricOutput

type GetModelsModelCollectionItemOutput

type GetModelsModelCollectionItemOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionItemOutput) BaseModelId

The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.

func (GetModelsModelCollectionItemOutput) Capabilities

Describes what this model can be used for.

func (GetModelsModelCollectionItemOutput) CompartmentId

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.

func (GetModelsModelCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (GetModelsModelCollectionItemOutput) Description

An optional description of the model.

func (GetModelsModelCollectionItemOutput) DisplayName

A filter to return only resources that match the given display name exactly.

func (GetModelsModelCollectionItemOutput) ElementType

func (GetModelsModelCollectionItemOutput) FineTuneDetails

Details about fine-tuning a custom model.

func (GetModelsModelCollectionItemOutput) FreeformTags

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (GetModelsModelCollectionItemOutput) Id

The ID of the model.

func (GetModelsModelCollectionItemOutput) IsLongTermSupported

func (o GetModelsModelCollectionItemOutput) IsLongTermSupported() pulumi.BoolOutput

Whether a model is supported long-term. Only applicable to base models.

func (GetModelsModelCollectionItemOutput) LifecycleDetails

A message describing the current state of the model in more detail that can provide actionable information.

func (GetModelsModelCollectionItemOutput) ModelMetrics

Model metrics during the creation of a new model.

func (GetModelsModelCollectionItemOutput) State

A filter to return only resources their lifecycleState matches the given lifecycleState.

func (GetModelsModelCollectionItemOutput) SystemTags

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (GetModelsModelCollectionItemOutput) TimeCreated

The date and time that the model was created in the format of an RFC3339 datetime string.

func (GetModelsModelCollectionItemOutput) TimeDeprecated

Corresponds to the time when the custom model and its associated foundation model will be deprecated.

func (GetModelsModelCollectionItemOutput) TimeUpdated

The date and time that the model was updated in the format of an RFC3339 datetime string.

func (GetModelsModelCollectionItemOutput) ToGetModelsModelCollectionItemOutput

func (o GetModelsModelCollectionItemOutput) ToGetModelsModelCollectionItemOutput() GetModelsModelCollectionItemOutput

func (GetModelsModelCollectionItemOutput) ToGetModelsModelCollectionItemOutputWithContext

func (o GetModelsModelCollectionItemOutput) ToGetModelsModelCollectionItemOutputWithContext(ctx context.Context) GetModelsModelCollectionItemOutput

func (GetModelsModelCollectionItemOutput) Type

The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.

func (GetModelsModelCollectionItemOutput) Vendor

A filter to return only resources that match the entire vendor given.

func (GetModelsModelCollectionItemOutput) Version

The version of the model.

type GetModelsModelCollectionOutput

type GetModelsModelCollectionOutput struct{ *pulumi.OutputState }

func (GetModelsModelCollectionOutput) ElementType

func (GetModelsModelCollectionOutput) Items

func (GetModelsModelCollectionOutput) ToGetModelsModelCollectionOutput

func (o GetModelsModelCollectionOutput) ToGetModelsModelCollectionOutput() GetModelsModelCollectionOutput

func (GetModelsModelCollectionOutput) ToGetModelsModelCollectionOutputWithContext

func (o GetModelsModelCollectionOutput) ToGetModelsModelCollectionOutputWithContext(ctx context.Context) GetModelsModelCollectionOutput

type GetModelsOutputArgs

type GetModelsOutputArgs struct {
	// A filter to return only resources their capability matches the given capability.
	Capabilities pulumi.StringArrayInput `pulumi:"capabilities"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// A filter to return only resources that match the given display name exactly.
	DisplayName pulumi.StringPtrInput     `pulumi:"displayName"`
	Filters     GetModelsFilterArrayInput `pulumi:"filters"`
	// The ID of the model.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	State pulumi.StringPtrInput `pulumi:"state"`
	// A filter to return only resources that match the entire vendor given.
	Vendor pulumi.StringPtrInput `pulumi:"vendor"`
}

A collection of arguments for invoking getModels.

func (GetModelsOutputArgs) ElementType

func (GetModelsOutputArgs) ElementType() reflect.Type

type GetModelsResult

type GetModelsResult struct {
	Capabilities []string `pulumi:"capabilities"`
	// The compartment OCID for fine-tuned models. For pretrained models, this value is null.
	CompartmentId string `pulumi:"compartmentId"`
	// A user-friendly name.
	DisplayName *string           `pulumi:"displayName"`
	Filters     []GetModelsFilter `pulumi:"filters"`
	// An ID that uniquely identifies a pretrained or fine-tuned model.
	Id *string `pulumi:"id"`
	// The list of model_collection.
	ModelCollections []GetModelsModelCollection `pulumi:"modelCollections"`
	// The lifecycle state of the model.
	State *string `pulumi:"state"`
	// The provider of the base model.
	Vendor *string `pulumi:"vendor"`
}

A collection of values returned by getModels.

func GetModels

func GetModels(ctx *pulumi.Context, args *GetModelsArgs, opts ...pulumi.InvokeOption) (*GetModelsResult, error)

This data source provides the list of Models in Oracle Cloud Infrastructure Generative Ai service.

Lists the models in a specific compartment. Includes pretrained base models and fine-tuned custom models.

## Example Usage

```go 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.GetModels(ctx, &generativeai.GetModelsArgs{
			CompartmentId: compartmentId,
			Capabilities:  modelCapability,
			DisplayName:   pulumi.StringRef(modelDisplayName),
			Id:            pulumi.StringRef(modelId),
			State:         pulumi.StringRef(modelState),
			Vendor:        pulumi.StringRef(modelVendor),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetModelsResultOutput

type GetModelsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getModels.

func (GetModelsResultOutput) Capabilities

func (GetModelsResultOutput) CompartmentId

func (o GetModelsResultOutput) CompartmentId() pulumi.StringOutput

The compartment OCID for fine-tuned models. For pretrained models, this value is null.

func (GetModelsResultOutput) DisplayName

A user-friendly name.

func (GetModelsResultOutput) ElementType

func (GetModelsResultOutput) ElementType() reflect.Type

func (GetModelsResultOutput) Filters

func (GetModelsResultOutput) Id

An ID that uniquely identifies a pretrained or fine-tuned model.

func (GetModelsResultOutput) ModelCollections

The list of model_collection.

func (GetModelsResultOutput) State

The lifecycle state of the model.

func (GetModelsResultOutput) ToGetModelsResultOutput

func (o GetModelsResultOutput) ToGetModelsResultOutput() GetModelsResultOutput

func (GetModelsResultOutput) ToGetModelsResultOutputWithContext

func (o GetModelsResultOutput) ToGetModelsResultOutputWithContext(ctx context.Context) GetModelsResultOutput

func (GetModelsResultOutput) Vendor

The provider of the base model.

type LookupDedicatedAiClusterArgs

type LookupDedicatedAiClusterArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
	DedicatedAiClusterId string `pulumi:"dedicatedAiClusterId"`
}

A collection of arguments for invoking getDedicatedAiCluster.

type LookupDedicatedAiClusterOutputArgs

type LookupDedicatedAiClusterOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
	DedicatedAiClusterId pulumi.StringInput `pulumi:"dedicatedAiClusterId"`
}

A collection of arguments for invoking getDedicatedAiCluster.

func (LookupDedicatedAiClusterOutputArgs) ElementType

type LookupDedicatedAiClusterResult

type LookupDedicatedAiClusterResult struct {
	// The total capacity for a dedicated AI cluster.
	Capacities []GetDedicatedAiClusterCapacity `pulumi:"capacities"`
	// The compartment OCID to create the dedicated AI cluster in.
	CompartmentId        string `pulumi:"compartmentId"`
	DedicatedAiClusterId string `pulumi:"dedicatedAiClusterId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// An optional description of the dedicated AI cluster.
	Description string `pulumi:"description"`
	// A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName string `pulumi:"displayName"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.
	Id string `pulumi:"id"`
	// A message describing the current state with detail that can provide actionable information.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// The current state of the dedicated AI cluster.
	State string `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The date and time the dedicated AI cluster was created, in the format defined by RFC 3339
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339
	TimeUpdated string `pulumi:"timeUpdated"`
	// The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.
	Type string `pulumi:"type"`
	// The number of dedicated units in this AI cluster.
	UnitCount int `pulumi:"unitCount"`
	// The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
	UnitShape string `pulumi:"unitShape"`
}

A collection of values returned by getDedicatedAiCluster.

func LookupDedicatedAiCluster

func LookupDedicatedAiCluster(ctx *pulumi.Context, args *LookupDedicatedAiClusterArgs, opts ...pulumi.InvokeOption) (*LookupDedicatedAiClusterResult, error)

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

```go 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
	})
}

```

type LookupDedicatedAiClusterResultOutput

type LookupDedicatedAiClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDedicatedAiCluster.

func (LookupDedicatedAiClusterResultOutput) Capacities

The total capacity for a dedicated AI cluster.

func (LookupDedicatedAiClusterResultOutput) CompartmentId

The compartment OCID to create the dedicated AI cluster in.

func (LookupDedicatedAiClusterResultOutput) DedicatedAiClusterId

func (o LookupDedicatedAiClusterResultOutput) DedicatedAiClusterId() pulumi.StringOutput

func (LookupDedicatedAiClusterResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (LookupDedicatedAiClusterResultOutput) Description

An optional description of the dedicated AI cluster.

func (LookupDedicatedAiClusterResultOutput) DisplayName

A user-friendly name. Does not have to be unique, and it's changeable.

func (LookupDedicatedAiClusterResultOutput) ElementType

func (LookupDedicatedAiClusterResultOutput) FreeformTags

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (LookupDedicatedAiClusterResultOutput) Id

The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated AI cluster.

func (LookupDedicatedAiClusterResultOutput) LifecycleDetails

A message describing the current state with detail that can provide actionable information.

func (LookupDedicatedAiClusterResultOutput) State

The current state of the dedicated AI cluster.

func (LookupDedicatedAiClusterResultOutput) SystemTags

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupDedicatedAiClusterResultOutput) TimeCreated

The date and time the dedicated AI cluster was created, in the format defined by RFC 3339

func (LookupDedicatedAiClusterResultOutput) TimeUpdated

The date and time the dedicated AI cluster was updated, in the format defined by RFC 3339

func (LookupDedicatedAiClusterResultOutput) ToLookupDedicatedAiClusterResultOutput

func (o LookupDedicatedAiClusterResultOutput) ToLookupDedicatedAiClusterResultOutput() LookupDedicatedAiClusterResultOutput

func (LookupDedicatedAiClusterResultOutput) ToLookupDedicatedAiClusterResultOutputWithContext

func (o LookupDedicatedAiClusterResultOutput) ToLookupDedicatedAiClusterResultOutputWithContext(ctx context.Context) LookupDedicatedAiClusterResultOutput

func (LookupDedicatedAiClusterResultOutput) Type

The dedicated AI cluster type indicating whether this is a fine-tuning/training processor or hosting/inference processor.

func (LookupDedicatedAiClusterResultOutput) UnitCount

The number of dedicated units in this AI cluster.

func (LookupDedicatedAiClusterResultOutput) UnitShape

The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.

type LookupEndpointArgs

type LookupEndpointArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.
	EndpointId string `pulumi:"endpointId"`
}

A collection of arguments for invoking getEndpoint.

type LookupEndpointOutputArgs

type LookupEndpointOutputArgs struct {
	// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the endpoint.
	EndpointId pulumi.StringInput `pulumi:"endpointId"`
}

A collection of arguments for invoking getEndpoint.

func (LookupEndpointOutputArgs) ElementType

func (LookupEndpointOutputArgs) ElementType() reflect.Type

type LookupEndpointResult

type LookupEndpointResult struct {
	// The compartment OCID to create the endpoint in.
	CompartmentId string `pulumi:"compartmentId"`
	// The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.
	ContentModerationConfigs []GetEndpointContentModerationConfig `pulumi:"contentModerationConfigs"`
	// The OCID of the dedicated AI cluster on which the model will be deployed to.
	DedicatedAiClusterId string `pulumi:"dedicatedAiClusterId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// An optional description of the endpoint.
	Description string `pulumi:"description"`
	// A user-friendly name. Does not have to be unique, and it's changeable.
	DisplayName string `pulumi:"displayName"`
	EndpointId  string `pulumi:"endpointId"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// An OCID that uniquely identifies this endpoint resource.
	Id string `pulumi:"id"`
	// A message describing the current state of the endpoint in more detail that can provide actionable information.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// The OCID of the model that's used to create this endpoint.
	ModelId string `pulumi:"modelId"`
	// The current state of the endpoint.
	State string `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The date and time that the endpoint was created in the format of an RFC3339 datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time that the endpoint was updated in the format of an RFC3339 datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getEndpoint.

func LookupEndpoint

func LookupEndpoint(ctx *pulumi.Context, args *LookupEndpointArgs, opts ...pulumi.InvokeOption) (*LookupEndpointResult, error)

This data source provides details about a specific Endpoint resource in Oracle Cloud Infrastructure Generative Ai service.

Gets information about an endpoint.

## Example Usage

```go 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.GetEndpoint(ctx, &generativeai.GetEndpointArgs{
			EndpointId: testEndpointOciGenerativeAiEndpoint.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEndpointResultOutput

type LookupEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEndpoint.

func (LookupEndpointResultOutput) CompartmentId

The compartment OCID to create the endpoint in.

func (LookupEndpointResultOutput) ContentModerationConfigs

The configuration details, whether to add the content moderation feature to the model. Content moderation removes toxic and biased content from responses. It's recommended to use content moderation.

func (LookupEndpointResultOutput) DedicatedAiClusterId

func (o LookupEndpointResultOutput) DedicatedAiClusterId() pulumi.StringOutput

The OCID of the dedicated AI cluster on which the model will be deployed to.

func (LookupEndpointResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (LookupEndpointResultOutput) Description

An optional description of the endpoint.

func (LookupEndpointResultOutput) DisplayName

A user-friendly name. Does not have to be unique, and it's changeable.

func (LookupEndpointResultOutput) ElementType

func (LookupEndpointResultOutput) ElementType() reflect.Type

func (LookupEndpointResultOutput) EndpointId

func (LookupEndpointResultOutput) FreeformTags

func (o LookupEndpointResultOutput) FreeformTags() pulumi.MapOutput

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (LookupEndpointResultOutput) Id

An OCID that uniquely identifies this endpoint resource.

func (LookupEndpointResultOutput) LifecycleDetails

func (o LookupEndpointResultOutput) LifecycleDetails() pulumi.StringOutput

A message describing the current state of the endpoint in more detail that can provide actionable information.

func (LookupEndpointResultOutput) ModelId

The OCID of the model that's used to create this endpoint.

func (LookupEndpointResultOutput) State

The current state of the endpoint.

func (LookupEndpointResultOutput) SystemTags

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupEndpointResultOutput) TimeCreated

The date and time that the endpoint was created in the format of an RFC3339 datetime string.

func (LookupEndpointResultOutput) TimeUpdated

The date and time that the endpoint was updated in the format of an RFC3339 datetime string.

func (LookupEndpointResultOutput) ToLookupEndpointResultOutput

func (o LookupEndpointResultOutput) ToLookupEndpointResultOutput() LookupEndpointResultOutput

func (LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext

func (o LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext(ctx context.Context) LookupEndpointResultOutput

type LookupModelArgs

type LookupModelArgs struct {
	// The model OCID
	ModelId string `pulumi:"modelId"`
}

A collection of arguments for invoking getModel.

type LookupModelOutputArgs

type LookupModelOutputArgs struct {
	// The model OCID
	ModelId pulumi.StringInput `pulumi:"modelId"`
}

A collection of arguments for invoking getModel.

func (LookupModelOutputArgs) ElementType

func (LookupModelOutputArgs) ElementType() reflect.Type

type LookupModelResult

type LookupModelResult struct {
	// The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.
	BaseModelId string `pulumi:"baseModelId"`
	// Describes what this model can be used for.
	Capabilities []string `pulumi:"capabilities"`
	// The compartment OCID for fine-tuned models. For pretrained models, this value is null.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// An optional description of the model.
	Description string `pulumi:"description"`
	// A user-friendly name.
	DisplayName string `pulumi:"displayName"`
	// Details about fine-tuning a custom model.
	FineTuneDetails []GetModelFineTuneDetail `pulumi:"fineTuneDetails"`
	// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// An ID that uniquely identifies a pretrained or fine-tuned model.
	Id string `pulumi:"id"`
	// Whether a model is supported long-term. Only applicable to base models.
	IsLongTermSupported bool `pulumi:"isLongTermSupported"`
	// A message describing the current state of the model in more detail that can provide actionable information.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	ModelId          string `pulumi:"modelId"`
	// Model metrics during the creation of a new model.
	ModelMetrics []GetModelModelMetric `pulumi:"modelMetrics"`
	// The lifecycle state of the model.
	State string `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// The date and time that the model was created in the format of an RFC3339 datetime string.
	TimeCreated string `pulumi:"timeCreated"`
	// Corresponds to the time when the custom model and its associated foundation model will be deprecated.
	TimeDeprecated string `pulumi:"timeDeprecated"`
	// The date and time that the model was updated in the format of an RFC3339 datetime string.
	TimeUpdated string `pulumi:"timeUpdated"`
	// The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.
	Type string `pulumi:"type"`
	// The provider of the base model.
	Vendor string `pulumi:"vendor"`
	// The version of the model.
	Version string `pulumi:"version"`
}

A collection of values returned by getModel.

func LookupModel

func LookupModel(ctx *pulumi.Context, args *LookupModelArgs, opts ...pulumi.InvokeOption) (*LookupModelResult, error)

This data source provides details about a specific Model resource in Oracle Cloud Infrastructure Generative Ai service.

Gets information about a custom model.

## Example Usage

```go 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.GetModel(ctx, &generativeai.GetModelArgs{
			ModelId: testModelOciGenerativeAiModel.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupModelResultOutput

type LookupModelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getModel.

func (LookupModelResultOutput) BaseModelId

The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.

func (LookupModelResultOutput) Capabilities

Describes what this model can be used for.

func (LookupModelResultOutput) CompartmentId

func (o LookupModelResultOutput) CompartmentId() pulumi.StringOutput

The compartment OCID for fine-tuned models. For pretrained models, this value is null.

func (LookupModelResultOutput) DefinedTags

func (o LookupModelResultOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (LookupModelResultOutput) Description

An optional description of the model.

func (LookupModelResultOutput) DisplayName

A user-friendly name.

func (LookupModelResultOutput) ElementType

func (LookupModelResultOutput) ElementType() reflect.Type

func (LookupModelResultOutput) FineTuneDetails

Details about fine-tuning a custom model.

func (LookupModelResultOutput) FreeformTags

func (o LookupModelResultOutput) FreeformTags() pulumi.MapOutput

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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (LookupModelResultOutput) Id

An ID that uniquely identifies a pretrained or fine-tuned model.

func (LookupModelResultOutput) IsLongTermSupported

func (o LookupModelResultOutput) IsLongTermSupported() pulumi.BoolOutput

Whether a model is supported long-term. Only applicable to base models.

func (LookupModelResultOutput) LifecycleDetails

func (o LookupModelResultOutput) LifecycleDetails() pulumi.StringOutput

A message describing the current state of the model in more detail that can provide actionable information.

func (LookupModelResultOutput) ModelId

func (LookupModelResultOutput) ModelMetrics

Model metrics during the creation of a new model.

func (LookupModelResultOutput) State

The lifecycle state of the model.

func (LookupModelResultOutput) SystemTags

func (o LookupModelResultOutput) SystemTags() pulumi.MapOutput

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (LookupModelResultOutput) TimeCreated

The date and time that the model was created in the format of an RFC3339 datetime string.

func (LookupModelResultOutput) TimeDeprecated

func (o LookupModelResultOutput) TimeDeprecated() pulumi.StringOutput

Corresponds to the time when the custom model and its associated foundation model will be deprecated.

func (LookupModelResultOutput) TimeUpdated

The date and time that the model was updated in the format of an RFC3339 datetime string.

func (LookupModelResultOutput) ToLookupModelResultOutput

func (o LookupModelResultOutput) ToLookupModelResultOutput() LookupModelResultOutput

func (LookupModelResultOutput) ToLookupModelResultOutputWithContext

func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx context.Context) LookupModelResultOutput

func (LookupModelResultOutput) Type

The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.

func (LookupModelResultOutput) Vendor

The provider of the base model.

func (LookupModelResultOutput) Version

The version of the model.

type Model

type Model struct {
	pulumi.CustomResourceState

	// The OCID of the base model that's used for fine-tuning.
	BaseModelId pulumi.StringOutput `pulumi:"baseModelId"`
	// Describes what this model can be used for.
	Capabilities pulumi.StringArrayOutput `pulumi:"capabilities"`
	// (Updatable) The compartment OCID for fine-tuned models. For pretrained models, this value is null.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) An optional description of the model.
	Description pulumi.StringOutput `pulumi:"description"`
	// (Updatable) A user-friendly name.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Details about fine-tuning a custom model.
	FineTuneDetails ModelFineTuneDetailsOutput `pulumi:"fineTuneDetails"`
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// Whether a model is supported long-term. Only applicable to base models.
	IsLongTermSupported pulumi.BoolOutput `pulumi:"isLongTermSupported"`
	// A message describing the current state of the model in more detail that can provide actionable information.
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// Model metrics during the creation of a new model.
	ModelMetrics ModelModelMetricArrayOutput `pulumi:"modelMetrics"`
	// The lifecycle state of the model.
	State pulumi.StringOutput `pulumi:"state"`
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapOutput `pulumi:"systemTags"`
	// The date and time that the model was created in the format of an RFC3339 datetime string.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// Corresponds to the time when the custom model and its associated foundation model will be deprecated.
	TimeDeprecated pulumi.StringOutput `pulumi:"timeDeprecated"`
	// The date and time that the model was updated in the format of an RFC3339 datetime string.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
	// The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.
	Type pulumi.StringOutput `pulumi:"type"`
	// (Updatable) The provider of the model.
	Vendor pulumi.StringOutput `pulumi:"vendor"`
	// (Updatable) The version of the model.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Version pulumi.StringOutput `pulumi:"version"`
}

This resource provides the Model resource in Oracle Cloud Infrastructure Generative Ai service.

Creates a custom model by fine-tuning a base model with your own dataset. You can create a new custom models or create a new version of existing custom model..

The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the model creation progress.

## Import

Models can be imported using the `id`, e.g.

```sh $ pulumi import oci:GenerativeAi/model:Model test_model "id" ```

func GetModel

func GetModel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ModelState, opts ...pulumi.ResourceOption) (*Model, error)

GetModel gets an existing Model resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewModel

func NewModel(ctx *pulumi.Context,
	name string, args *ModelArgs, opts ...pulumi.ResourceOption) (*Model, error)

NewModel registers a new resource with the given unique name, arguments, and options.

func (*Model) ElementType

func (*Model) ElementType() reflect.Type

func (*Model) ToModelOutput

func (i *Model) ToModelOutput() ModelOutput

func (*Model) ToModelOutputWithContext

func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput

type ModelArgs

type ModelArgs struct {
	// The OCID of the base model that's used for fine-tuning.
	BaseModelId pulumi.StringInput
	// (Updatable) The compartment OCID for fine-tuned models. For pretrained models, this value is null.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) An optional description of the model.
	Description pulumi.StringPtrInput
	// (Updatable) A user-friendly name.
	DisplayName pulumi.StringPtrInput
	// Details about fine-tuning a custom model.
	FineTuneDetails ModelFineTuneDetailsInput
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// (Updatable) The provider of the model.
	Vendor pulumi.StringPtrInput
	// (Updatable) The version of the model.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a Model resource.

func (ModelArgs) ElementType

func (ModelArgs) ElementType() reflect.Type

type ModelArray

type ModelArray []ModelInput

func (ModelArray) ElementType

func (ModelArray) ElementType() reflect.Type

func (ModelArray) ToModelArrayOutput

func (i ModelArray) ToModelArrayOutput() ModelArrayOutput

func (ModelArray) ToModelArrayOutputWithContext

func (i ModelArray) ToModelArrayOutputWithContext(ctx context.Context) ModelArrayOutput

type ModelArrayInput

type ModelArrayInput interface {
	pulumi.Input

	ToModelArrayOutput() ModelArrayOutput
	ToModelArrayOutputWithContext(context.Context) ModelArrayOutput
}

ModelArrayInput is an input type that accepts ModelArray and ModelArrayOutput values. You can construct a concrete instance of `ModelArrayInput` via:

ModelArray{ ModelArgs{...} }

type ModelArrayOutput

type ModelArrayOutput struct{ *pulumi.OutputState }

func (ModelArrayOutput) ElementType

func (ModelArrayOutput) ElementType() reflect.Type

func (ModelArrayOutput) Index

func (ModelArrayOutput) ToModelArrayOutput

func (o ModelArrayOutput) ToModelArrayOutput() ModelArrayOutput

func (ModelArrayOutput) ToModelArrayOutputWithContext

func (o ModelArrayOutput) ToModelArrayOutputWithContext(ctx context.Context) ModelArrayOutput

type ModelFineTuneDetails

type ModelFineTuneDetails struct {
	// The OCID of the dedicated AI cluster this fine-tuning runs on.
	DedicatedAiClusterId string `pulumi:"dedicatedAiClusterId"`
	// The fine-tuning method and hyperparameters used for fine-tuning a custom model.
	TrainingConfig *ModelFineTuneDetailsTrainingConfig `pulumi:"trainingConfig"`
	// The dataset used to fine-tune the model.
	//
	// Only one dataset is allowed per custom model, which is split 90-10 for training and validating. You must provide the dataset in a JSON Lines (JSONL) file. Each line in the JSONL file must have the format: `{"prompt": "<first prompt>", "completion": "<expected completion given first prompt>"}`
	TrainingDataset ModelFineTuneDetailsTrainingDataset `pulumi:"trainingDataset"`
}

type ModelFineTuneDetailsArgs

type ModelFineTuneDetailsArgs struct {
	// The OCID of the dedicated AI cluster this fine-tuning runs on.
	DedicatedAiClusterId pulumi.StringInput `pulumi:"dedicatedAiClusterId"`
	// The fine-tuning method and hyperparameters used for fine-tuning a custom model.
	TrainingConfig ModelFineTuneDetailsTrainingConfigPtrInput `pulumi:"trainingConfig"`
	// The dataset used to fine-tune the model.
	//
	// Only one dataset is allowed per custom model, which is split 90-10 for training and validating. You must provide the dataset in a JSON Lines (JSONL) file. Each line in the JSONL file must have the format: `{"prompt": "<first prompt>", "completion": "<expected completion given first prompt>"}`
	TrainingDataset ModelFineTuneDetailsTrainingDatasetInput `pulumi:"trainingDataset"`
}

func (ModelFineTuneDetailsArgs) ElementType

func (ModelFineTuneDetailsArgs) ElementType() reflect.Type

func (ModelFineTuneDetailsArgs) ToModelFineTuneDetailsOutput

func (i ModelFineTuneDetailsArgs) ToModelFineTuneDetailsOutput() ModelFineTuneDetailsOutput

func (ModelFineTuneDetailsArgs) ToModelFineTuneDetailsOutputWithContext

func (i ModelFineTuneDetailsArgs) ToModelFineTuneDetailsOutputWithContext(ctx context.Context) ModelFineTuneDetailsOutput

func (ModelFineTuneDetailsArgs) ToModelFineTuneDetailsPtrOutput

func (i ModelFineTuneDetailsArgs) ToModelFineTuneDetailsPtrOutput() ModelFineTuneDetailsPtrOutput

func (ModelFineTuneDetailsArgs) ToModelFineTuneDetailsPtrOutputWithContext

func (i ModelFineTuneDetailsArgs) ToModelFineTuneDetailsPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsPtrOutput

type ModelFineTuneDetailsInput

type ModelFineTuneDetailsInput interface {
	pulumi.Input

	ToModelFineTuneDetailsOutput() ModelFineTuneDetailsOutput
	ToModelFineTuneDetailsOutputWithContext(context.Context) ModelFineTuneDetailsOutput
}

ModelFineTuneDetailsInput is an input type that accepts ModelFineTuneDetailsArgs and ModelFineTuneDetailsOutput values. You can construct a concrete instance of `ModelFineTuneDetailsInput` via:

ModelFineTuneDetailsArgs{...}

type ModelFineTuneDetailsOutput

type ModelFineTuneDetailsOutput struct{ *pulumi.OutputState }

func (ModelFineTuneDetailsOutput) DedicatedAiClusterId

func (o ModelFineTuneDetailsOutput) DedicatedAiClusterId() pulumi.StringOutput

The OCID of the dedicated AI cluster this fine-tuning runs on.

func (ModelFineTuneDetailsOutput) ElementType

func (ModelFineTuneDetailsOutput) ElementType() reflect.Type

func (ModelFineTuneDetailsOutput) ToModelFineTuneDetailsOutput

func (o ModelFineTuneDetailsOutput) ToModelFineTuneDetailsOutput() ModelFineTuneDetailsOutput

func (ModelFineTuneDetailsOutput) ToModelFineTuneDetailsOutputWithContext

func (o ModelFineTuneDetailsOutput) ToModelFineTuneDetailsOutputWithContext(ctx context.Context) ModelFineTuneDetailsOutput

func (ModelFineTuneDetailsOutput) ToModelFineTuneDetailsPtrOutput

func (o ModelFineTuneDetailsOutput) ToModelFineTuneDetailsPtrOutput() ModelFineTuneDetailsPtrOutput

func (ModelFineTuneDetailsOutput) ToModelFineTuneDetailsPtrOutputWithContext

func (o ModelFineTuneDetailsOutput) ToModelFineTuneDetailsPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsPtrOutput

func (ModelFineTuneDetailsOutput) TrainingConfig

The fine-tuning method and hyperparameters used for fine-tuning a custom model.

func (ModelFineTuneDetailsOutput) TrainingDataset

The dataset used to fine-tune the model.

Only one dataset is allowed per custom model, which is split 90-10 for training and validating. You must provide the dataset in a JSON Lines (JSONL) file. Each line in the JSONL file must have the format: `{"prompt": "<first prompt>", "completion": "<expected completion given first prompt>"}`

type ModelFineTuneDetailsPtrInput

type ModelFineTuneDetailsPtrInput interface {
	pulumi.Input

	ToModelFineTuneDetailsPtrOutput() ModelFineTuneDetailsPtrOutput
	ToModelFineTuneDetailsPtrOutputWithContext(context.Context) ModelFineTuneDetailsPtrOutput
}

ModelFineTuneDetailsPtrInput is an input type that accepts ModelFineTuneDetailsArgs, ModelFineTuneDetailsPtr and ModelFineTuneDetailsPtrOutput values. You can construct a concrete instance of `ModelFineTuneDetailsPtrInput` via:

        ModelFineTuneDetailsArgs{...}

or:

        nil

type ModelFineTuneDetailsPtrOutput

type ModelFineTuneDetailsPtrOutput struct{ *pulumi.OutputState }

func (ModelFineTuneDetailsPtrOutput) DedicatedAiClusterId

func (o ModelFineTuneDetailsPtrOutput) DedicatedAiClusterId() pulumi.StringPtrOutput

The OCID of the dedicated AI cluster this fine-tuning runs on.

func (ModelFineTuneDetailsPtrOutput) Elem

func (ModelFineTuneDetailsPtrOutput) ElementType

func (ModelFineTuneDetailsPtrOutput) ToModelFineTuneDetailsPtrOutput

func (o ModelFineTuneDetailsPtrOutput) ToModelFineTuneDetailsPtrOutput() ModelFineTuneDetailsPtrOutput

func (ModelFineTuneDetailsPtrOutput) ToModelFineTuneDetailsPtrOutputWithContext

func (o ModelFineTuneDetailsPtrOutput) ToModelFineTuneDetailsPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsPtrOutput

func (ModelFineTuneDetailsPtrOutput) TrainingConfig

The fine-tuning method and hyperparameters used for fine-tuning a custom model.

func (ModelFineTuneDetailsPtrOutput) TrainingDataset

The dataset used to fine-tune the model.

Only one dataset is allowed per custom model, which is split 90-10 for training and validating. You must provide the dataset in a JSON Lines (JSONL) file. Each line in the JSONL file must have the format: `{"prompt": "<first prompt>", "completion": "<expected completion given first prompt>"}`

type ModelFineTuneDetailsTrainingConfig

type ModelFineTuneDetailsTrainingConfig struct {
	// Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
	EarlyStoppingPatience *int `pulumi:"earlyStoppingPatience"`
	// How much the loss must improve to prevent early stopping.
	EarlyStoppingThreshold *float64 `pulumi:"earlyStoppingThreshold"`
	// The initial learning rate to be used during training
	LearningRate *float64 `pulumi:"learningRate"`
	// Determines how frequently to log model metrics.
	//
	// Every step is logged for the first 20 steps and then follows this parameter for log frequency. Set to 0 to disable logging the model metrics.
	LogModelMetricsIntervalInSteps *int `pulumi:"logModelMetricsIntervalInSteps"`
	// The number of last layers to be fine-tuned.
	NumOfLastLayers *int `pulumi:"numOfLastLayers"`
	// The maximum number of training epochs to run for.
	TotalTrainingEpochs *int `pulumi:"totalTrainingEpochs"`
	// The batch size used during training.
	TrainingBatchSize *int `pulumi:"trainingBatchSize"`
	// The fine-tuning method for training a custom model.
	TrainingConfigType string `pulumi:"trainingConfigType"`
}

type ModelFineTuneDetailsTrainingConfigArgs

type ModelFineTuneDetailsTrainingConfigArgs struct {
	// Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.
	EarlyStoppingPatience pulumi.IntPtrInput `pulumi:"earlyStoppingPatience"`
	// How much the loss must improve to prevent early stopping.
	EarlyStoppingThreshold pulumi.Float64PtrInput `pulumi:"earlyStoppingThreshold"`
	// The initial learning rate to be used during training
	LearningRate pulumi.Float64PtrInput `pulumi:"learningRate"`
	// Determines how frequently to log model metrics.
	//
	// Every step is logged for the first 20 steps and then follows this parameter for log frequency. Set to 0 to disable logging the model metrics.
	LogModelMetricsIntervalInSteps pulumi.IntPtrInput `pulumi:"logModelMetricsIntervalInSteps"`
	// The number of last layers to be fine-tuned.
	NumOfLastLayers pulumi.IntPtrInput `pulumi:"numOfLastLayers"`
	// The maximum number of training epochs to run for.
	TotalTrainingEpochs pulumi.IntPtrInput `pulumi:"totalTrainingEpochs"`
	// The batch size used during training.
	TrainingBatchSize pulumi.IntPtrInput `pulumi:"trainingBatchSize"`
	// The fine-tuning method for training a custom model.
	TrainingConfigType pulumi.StringInput `pulumi:"trainingConfigType"`
}

func (ModelFineTuneDetailsTrainingConfigArgs) ElementType

func (ModelFineTuneDetailsTrainingConfigArgs) ToModelFineTuneDetailsTrainingConfigOutput

func (i ModelFineTuneDetailsTrainingConfigArgs) ToModelFineTuneDetailsTrainingConfigOutput() ModelFineTuneDetailsTrainingConfigOutput

func (ModelFineTuneDetailsTrainingConfigArgs) ToModelFineTuneDetailsTrainingConfigOutputWithContext

func (i ModelFineTuneDetailsTrainingConfigArgs) ToModelFineTuneDetailsTrainingConfigOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingConfigOutput

func (ModelFineTuneDetailsTrainingConfigArgs) ToModelFineTuneDetailsTrainingConfigPtrOutput

func (i ModelFineTuneDetailsTrainingConfigArgs) ToModelFineTuneDetailsTrainingConfigPtrOutput() ModelFineTuneDetailsTrainingConfigPtrOutput

func (ModelFineTuneDetailsTrainingConfigArgs) ToModelFineTuneDetailsTrainingConfigPtrOutputWithContext

func (i ModelFineTuneDetailsTrainingConfigArgs) ToModelFineTuneDetailsTrainingConfigPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingConfigPtrOutput

type ModelFineTuneDetailsTrainingConfigInput

type ModelFineTuneDetailsTrainingConfigInput interface {
	pulumi.Input

	ToModelFineTuneDetailsTrainingConfigOutput() ModelFineTuneDetailsTrainingConfigOutput
	ToModelFineTuneDetailsTrainingConfigOutputWithContext(context.Context) ModelFineTuneDetailsTrainingConfigOutput
}

ModelFineTuneDetailsTrainingConfigInput is an input type that accepts ModelFineTuneDetailsTrainingConfigArgs and ModelFineTuneDetailsTrainingConfigOutput values. You can construct a concrete instance of `ModelFineTuneDetailsTrainingConfigInput` via:

ModelFineTuneDetailsTrainingConfigArgs{...}

type ModelFineTuneDetailsTrainingConfigOutput

type ModelFineTuneDetailsTrainingConfigOutput struct{ *pulumi.OutputState }

func (ModelFineTuneDetailsTrainingConfigOutput) EarlyStoppingPatience

Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.

func (ModelFineTuneDetailsTrainingConfigOutput) EarlyStoppingThreshold

How much the loss must improve to prevent early stopping.

func (ModelFineTuneDetailsTrainingConfigOutput) ElementType

func (ModelFineTuneDetailsTrainingConfigOutput) LearningRate

The initial learning rate to be used during training

func (ModelFineTuneDetailsTrainingConfigOutput) LogModelMetricsIntervalInSteps

func (o ModelFineTuneDetailsTrainingConfigOutput) LogModelMetricsIntervalInSteps() pulumi.IntPtrOutput

Determines how frequently to log model metrics.

Every step is logged for the first 20 steps and then follows this parameter for log frequency. Set to 0 to disable logging the model metrics.

func (ModelFineTuneDetailsTrainingConfigOutput) NumOfLastLayers

The number of last layers to be fine-tuned.

func (ModelFineTuneDetailsTrainingConfigOutput) ToModelFineTuneDetailsTrainingConfigOutput

func (o ModelFineTuneDetailsTrainingConfigOutput) ToModelFineTuneDetailsTrainingConfigOutput() ModelFineTuneDetailsTrainingConfigOutput

func (ModelFineTuneDetailsTrainingConfigOutput) ToModelFineTuneDetailsTrainingConfigOutputWithContext

func (o ModelFineTuneDetailsTrainingConfigOutput) ToModelFineTuneDetailsTrainingConfigOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingConfigOutput

func (ModelFineTuneDetailsTrainingConfigOutput) ToModelFineTuneDetailsTrainingConfigPtrOutput

func (o ModelFineTuneDetailsTrainingConfigOutput) ToModelFineTuneDetailsTrainingConfigPtrOutput() ModelFineTuneDetailsTrainingConfigPtrOutput

func (ModelFineTuneDetailsTrainingConfigOutput) ToModelFineTuneDetailsTrainingConfigPtrOutputWithContext

func (o ModelFineTuneDetailsTrainingConfigOutput) ToModelFineTuneDetailsTrainingConfigPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingConfigPtrOutput

func (ModelFineTuneDetailsTrainingConfigOutput) TotalTrainingEpochs

The maximum number of training epochs to run for.

func (ModelFineTuneDetailsTrainingConfigOutput) TrainingBatchSize

The batch size used during training.

func (ModelFineTuneDetailsTrainingConfigOutput) TrainingConfigType

The fine-tuning method for training a custom model.

type ModelFineTuneDetailsTrainingConfigPtrInput

type ModelFineTuneDetailsTrainingConfigPtrInput interface {
	pulumi.Input

	ToModelFineTuneDetailsTrainingConfigPtrOutput() ModelFineTuneDetailsTrainingConfigPtrOutput
	ToModelFineTuneDetailsTrainingConfigPtrOutputWithContext(context.Context) ModelFineTuneDetailsTrainingConfigPtrOutput
}

ModelFineTuneDetailsTrainingConfigPtrInput is an input type that accepts ModelFineTuneDetailsTrainingConfigArgs, ModelFineTuneDetailsTrainingConfigPtr and ModelFineTuneDetailsTrainingConfigPtrOutput values. You can construct a concrete instance of `ModelFineTuneDetailsTrainingConfigPtrInput` via:

        ModelFineTuneDetailsTrainingConfigArgs{...}

or:

        nil

type ModelFineTuneDetailsTrainingConfigPtrOutput

type ModelFineTuneDetailsTrainingConfigPtrOutput struct{ *pulumi.OutputState }

func (ModelFineTuneDetailsTrainingConfigPtrOutput) EarlyStoppingPatience

Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.

func (ModelFineTuneDetailsTrainingConfigPtrOutput) EarlyStoppingThreshold

How much the loss must improve to prevent early stopping.

func (ModelFineTuneDetailsTrainingConfigPtrOutput) Elem

func (ModelFineTuneDetailsTrainingConfigPtrOutput) ElementType

func (ModelFineTuneDetailsTrainingConfigPtrOutput) LearningRate

The initial learning rate to be used during training

func (ModelFineTuneDetailsTrainingConfigPtrOutput) LogModelMetricsIntervalInSteps

func (o ModelFineTuneDetailsTrainingConfigPtrOutput) LogModelMetricsIntervalInSteps() pulumi.IntPtrOutput

Determines how frequently to log model metrics.

Every step is logged for the first 20 steps and then follows this parameter for log frequency. Set to 0 to disable logging the model metrics.

func (ModelFineTuneDetailsTrainingConfigPtrOutput) NumOfLastLayers

The number of last layers to be fine-tuned.

func (ModelFineTuneDetailsTrainingConfigPtrOutput) ToModelFineTuneDetailsTrainingConfigPtrOutput

func (o ModelFineTuneDetailsTrainingConfigPtrOutput) ToModelFineTuneDetailsTrainingConfigPtrOutput() ModelFineTuneDetailsTrainingConfigPtrOutput

func (ModelFineTuneDetailsTrainingConfigPtrOutput) ToModelFineTuneDetailsTrainingConfigPtrOutputWithContext

func (o ModelFineTuneDetailsTrainingConfigPtrOutput) ToModelFineTuneDetailsTrainingConfigPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingConfigPtrOutput

func (ModelFineTuneDetailsTrainingConfigPtrOutput) TotalTrainingEpochs

The maximum number of training epochs to run for.

func (ModelFineTuneDetailsTrainingConfigPtrOutput) TrainingBatchSize

The batch size used during training.

func (ModelFineTuneDetailsTrainingConfigPtrOutput) TrainingConfigType

The fine-tuning method for training a custom model.

type ModelFineTuneDetailsTrainingDataset

type ModelFineTuneDetailsTrainingDataset struct {
	// The Object Storage bucket name.
	Bucket string `pulumi:"bucket"`
	// The type of the data asset.
	DatasetType string `pulumi:"datasetType"`
	// The Object Storage namespace.
	Namespace string `pulumi:"namespace"`
	// The Object Storage object name.
	Object string `pulumi:"object"`
}

type ModelFineTuneDetailsTrainingDatasetArgs

type ModelFineTuneDetailsTrainingDatasetArgs struct {
	// The Object Storage bucket name.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// The type of the data asset.
	DatasetType pulumi.StringInput `pulumi:"datasetType"`
	// The Object Storage namespace.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The Object Storage object name.
	Object pulumi.StringInput `pulumi:"object"`
}

func (ModelFineTuneDetailsTrainingDatasetArgs) ElementType

func (ModelFineTuneDetailsTrainingDatasetArgs) ToModelFineTuneDetailsTrainingDatasetOutput

func (i ModelFineTuneDetailsTrainingDatasetArgs) ToModelFineTuneDetailsTrainingDatasetOutput() ModelFineTuneDetailsTrainingDatasetOutput

func (ModelFineTuneDetailsTrainingDatasetArgs) ToModelFineTuneDetailsTrainingDatasetOutputWithContext

func (i ModelFineTuneDetailsTrainingDatasetArgs) ToModelFineTuneDetailsTrainingDatasetOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingDatasetOutput

func (ModelFineTuneDetailsTrainingDatasetArgs) ToModelFineTuneDetailsTrainingDatasetPtrOutput

func (i ModelFineTuneDetailsTrainingDatasetArgs) ToModelFineTuneDetailsTrainingDatasetPtrOutput() ModelFineTuneDetailsTrainingDatasetPtrOutput

func (ModelFineTuneDetailsTrainingDatasetArgs) ToModelFineTuneDetailsTrainingDatasetPtrOutputWithContext

func (i ModelFineTuneDetailsTrainingDatasetArgs) ToModelFineTuneDetailsTrainingDatasetPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingDatasetPtrOutput

type ModelFineTuneDetailsTrainingDatasetInput

type ModelFineTuneDetailsTrainingDatasetInput interface {
	pulumi.Input

	ToModelFineTuneDetailsTrainingDatasetOutput() ModelFineTuneDetailsTrainingDatasetOutput
	ToModelFineTuneDetailsTrainingDatasetOutputWithContext(context.Context) ModelFineTuneDetailsTrainingDatasetOutput
}

ModelFineTuneDetailsTrainingDatasetInput is an input type that accepts ModelFineTuneDetailsTrainingDatasetArgs and ModelFineTuneDetailsTrainingDatasetOutput values. You can construct a concrete instance of `ModelFineTuneDetailsTrainingDatasetInput` via:

ModelFineTuneDetailsTrainingDatasetArgs{...}

type ModelFineTuneDetailsTrainingDatasetOutput

type ModelFineTuneDetailsTrainingDatasetOutput struct{ *pulumi.OutputState }

func (ModelFineTuneDetailsTrainingDatasetOutput) Bucket

The Object Storage bucket name.

func (ModelFineTuneDetailsTrainingDatasetOutput) DatasetType

The type of the data asset.

func (ModelFineTuneDetailsTrainingDatasetOutput) ElementType

func (ModelFineTuneDetailsTrainingDatasetOutput) Namespace

The Object Storage namespace.

func (ModelFineTuneDetailsTrainingDatasetOutput) Object

The Object Storage object name.

func (ModelFineTuneDetailsTrainingDatasetOutput) ToModelFineTuneDetailsTrainingDatasetOutput

func (o ModelFineTuneDetailsTrainingDatasetOutput) ToModelFineTuneDetailsTrainingDatasetOutput() ModelFineTuneDetailsTrainingDatasetOutput

func (ModelFineTuneDetailsTrainingDatasetOutput) ToModelFineTuneDetailsTrainingDatasetOutputWithContext

func (o ModelFineTuneDetailsTrainingDatasetOutput) ToModelFineTuneDetailsTrainingDatasetOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingDatasetOutput

func (ModelFineTuneDetailsTrainingDatasetOutput) ToModelFineTuneDetailsTrainingDatasetPtrOutput

func (o ModelFineTuneDetailsTrainingDatasetOutput) ToModelFineTuneDetailsTrainingDatasetPtrOutput() ModelFineTuneDetailsTrainingDatasetPtrOutput

func (ModelFineTuneDetailsTrainingDatasetOutput) ToModelFineTuneDetailsTrainingDatasetPtrOutputWithContext

func (o ModelFineTuneDetailsTrainingDatasetOutput) ToModelFineTuneDetailsTrainingDatasetPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingDatasetPtrOutput

type ModelFineTuneDetailsTrainingDatasetPtrInput

type ModelFineTuneDetailsTrainingDatasetPtrInput interface {
	pulumi.Input

	ToModelFineTuneDetailsTrainingDatasetPtrOutput() ModelFineTuneDetailsTrainingDatasetPtrOutput
	ToModelFineTuneDetailsTrainingDatasetPtrOutputWithContext(context.Context) ModelFineTuneDetailsTrainingDatasetPtrOutput
}

ModelFineTuneDetailsTrainingDatasetPtrInput is an input type that accepts ModelFineTuneDetailsTrainingDatasetArgs, ModelFineTuneDetailsTrainingDatasetPtr and ModelFineTuneDetailsTrainingDatasetPtrOutput values. You can construct a concrete instance of `ModelFineTuneDetailsTrainingDatasetPtrInput` via:

        ModelFineTuneDetailsTrainingDatasetArgs{...}

or:

        nil

type ModelFineTuneDetailsTrainingDatasetPtrOutput

type ModelFineTuneDetailsTrainingDatasetPtrOutput struct{ *pulumi.OutputState }

func (ModelFineTuneDetailsTrainingDatasetPtrOutput) Bucket

The Object Storage bucket name.

func (ModelFineTuneDetailsTrainingDatasetPtrOutput) DatasetType

The type of the data asset.

func (ModelFineTuneDetailsTrainingDatasetPtrOutput) Elem

func (ModelFineTuneDetailsTrainingDatasetPtrOutput) ElementType

func (ModelFineTuneDetailsTrainingDatasetPtrOutput) Namespace

The Object Storage namespace.

func (ModelFineTuneDetailsTrainingDatasetPtrOutput) Object

The Object Storage object name.

func (ModelFineTuneDetailsTrainingDatasetPtrOutput) ToModelFineTuneDetailsTrainingDatasetPtrOutput

func (o ModelFineTuneDetailsTrainingDatasetPtrOutput) ToModelFineTuneDetailsTrainingDatasetPtrOutput() ModelFineTuneDetailsTrainingDatasetPtrOutput

func (ModelFineTuneDetailsTrainingDatasetPtrOutput) ToModelFineTuneDetailsTrainingDatasetPtrOutputWithContext

func (o ModelFineTuneDetailsTrainingDatasetPtrOutput) ToModelFineTuneDetailsTrainingDatasetPtrOutputWithContext(ctx context.Context) ModelFineTuneDetailsTrainingDatasetPtrOutput

type ModelInput

type ModelInput interface {
	pulumi.Input

	ToModelOutput() ModelOutput
	ToModelOutputWithContext(ctx context.Context) ModelOutput
}

type ModelMap

type ModelMap map[string]ModelInput

func (ModelMap) ElementType

func (ModelMap) ElementType() reflect.Type

func (ModelMap) ToModelMapOutput

func (i ModelMap) ToModelMapOutput() ModelMapOutput

func (ModelMap) ToModelMapOutputWithContext

func (i ModelMap) ToModelMapOutputWithContext(ctx context.Context) ModelMapOutput

type ModelMapInput

type ModelMapInput interface {
	pulumi.Input

	ToModelMapOutput() ModelMapOutput
	ToModelMapOutputWithContext(context.Context) ModelMapOutput
}

ModelMapInput is an input type that accepts ModelMap and ModelMapOutput values. You can construct a concrete instance of `ModelMapInput` via:

ModelMap{ "key": ModelArgs{...} }

type ModelMapOutput

type ModelMapOutput struct{ *pulumi.OutputState }

func (ModelMapOutput) ElementType

func (ModelMapOutput) ElementType() reflect.Type

func (ModelMapOutput) MapIndex

func (ModelMapOutput) ToModelMapOutput

func (o ModelMapOutput) ToModelMapOutput() ModelMapOutput

func (ModelMapOutput) ToModelMapOutputWithContext

func (o ModelMapOutput) ToModelMapOutputWithContext(ctx context.Context) ModelMapOutput

type ModelModelMetric

type ModelModelMetric struct {
	// Fine-tuned model accuracy.
	FinalAccuracy *float64 `pulumi:"finalAccuracy"`
	// Fine-tuned model loss.
	FinalLoss *float64 `pulumi:"finalLoss"`
	// The type of the model metrics. Each type of model can expect a different set of model metrics.
	ModelMetricsType *string `pulumi:"modelMetricsType"`
}

type ModelModelMetricArgs

type ModelModelMetricArgs struct {
	// Fine-tuned model accuracy.
	FinalAccuracy pulumi.Float64PtrInput `pulumi:"finalAccuracy"`
	// Fine-tuned model loss.
	FinalLoss pulumi.Float64PtrInput `pulumi:"finalLoss"`
	// The type of the model metrics. Each type of model can expect a different set of model metrics.
	ModelMetricsType pulumi.StringPtrInput `pulumi:"modelMetricsType"`
}

func (ModelModelMetricArgs) ElementType

func (ModelModelMetricArgs) ElementType() reflect.Type

func (ModelModelMetricArgs) ToModelModelMetricOutput

func (i ModelModelMetricArgs) ToModelModelMetricOutput() ModelModelMetricOutput

func (ModelModelMetricArgs) ToModelModelMetricOutputWithContext

func (i ModelModelMetricArgs) ToModelModelMetricOutputWithContext(ctx context.Context) ModelModelMetricOutput

type ModelModelMetricArray

type ModelModelMetricArray []ModelModelMetricInput

func (ModelModelMetricArray) ElementType

func (ModelModelMetricArray) ElementType() reflect.Type

func (ModelModelMetricArray) ToModelModelMetricArrayOutput

func (i ModelModelMetricArray) ToModelModelMetricArrayOutput() ModelModelMetricArrayOutput

func (ModelModelMetricArray) ToModelModelMetricArrayOutputWithContext

func (i ModelModelMetricArray) ToModelModelMetricArrayOutputWithContext(ctx context.Context) ModelModelMetricArrayOutput

type ModelModelMetricArrayInput

type ModelModelMetricArrayInput interface {
	pulumi.Input

	ToModelModelMetricArrayOutput() ModelModelMetricArrayOutput
	ToModelModelMetricArrayOutputWithContext(context.Context) ModelModelMetricArrayOutput
}

ModelModelMetricArrayInput is an input type that accepts ModelModelMetricArray and ModelModelMetricArrayOutput values. You can construct a concrete instance of `ModelModelMetricArrayInput` via:

ModelModelMetricArray{ ModelModelMetricArgs{...} }

type ModelModelMetricArrayOutput

type ModelModelMetricArrayOutput struct{ *pulumi.OutputState }

func (ModelModelMetricArrayOutput) ElementType

func (ModelModelMetricArrayOutput) Index

func (ModelModelMetricArrayOutput) ToModelModelMetricArrayOutput

func (o ModelModelMetricArrayOutput) ToModelModelMetricArrayOutput() ModelModelMetricArrayOutput

func (ModelModelMetricArrayOutput) ToModelModelMetricArrayOutputWithContext

func (o ModelModelMetricArrayOutput) ToModelModelMetricArrayOutputWithContext(ctx context.Context) ModelModelMetricArrayOutput

type ModelModelMetricInput

type ModelModelMetricInput interface {
	pulumi.Input

	ToModelModelMetricOutput() ModelModelMetricOutput
	ToModelModelMetricOutputWithContext(context.Context) ModelModelMetricOutput
}

ModelModelMetricInput is an input type that accepts ModelModelMetricArgs and ModelModelMetricOutput values. You can construct a concrete instance of `ModelModelMetricInput` via:

ModelModelMetricArgs{...}

type ModelModelMetricOutput

type ModelModelMetricOutput struct{ *pulumi.OutputState }

func (ModelModelMetricOutput) ElementType

func (ModelModelMetricOutput) ElementType() reflect.Type

func (ModelModelMetricOutput) FinalAccuracy

Fine-tuned model accuracy.

func (ModelModelMetricOutput) FinalLoss

Fine-tuned model loss.

func (ModelModelMetricOutput) ModelMetricsType

func (o ModelModelMetricOutput) ModelMetricsType() pulumi.StringPtrOutput

The type of the model metrics. Each type of model can expect a different set of model metrics.

func (ModelModelMetricOutput) ToModelModelMetricOutput

func (o ModelModelMetricOutput) ToModelModelMetricOutput() ModelModelMetricOutput

func (ModelModelMetricOutput) ToModelModelMetricOutputWithContext

func (o ModelModelMetricOutput) ToModelModelMetricOutputWithContext(ctx context.Context) ModelModelMetricOutput

type ModelOutput

type ModelOutput struct{ *pulumi.OutputState }

func (ModelOutput) BaseModelId

func (o ModelOutput) BaseModelId() pulumi.StringOutput

The OCID of the base model that's used for fine-tuning.

func (ModelOutput) Capabilities

func (o ModelOutput) Capabilities() pulumi.StringArrayOutput

Describes what this model can be used for.

func (ModelOutput) CompartmentId

func (o ModelOutput) CompartmentId() pulumi.StringOutput

(Updatable) The compartment OCID for fine-tuned models. For pretrained models, this value is null.

func (ModelOutput) DefinedTags

func (o ModelOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`

func (ModelOutput) Description

func (o ModelOutput) Description() pulumi.StringOutput

(Updatable) An optional description of the model.

func (ModelOutput) DisplayName

func (o ModelOutput) DisplayName() pulumi.StringOutput

(Updatable) A user-friendly name.

func (ModelOutput) ElementType

func (ModelOutput) ElementType() reflect.Type

func (ModelOutput) FineTuneDetails

func (o ModelOutput) FineTuneDetails() ModelFineTuneDetailsOutput

Details about fine-tuning a custom model.

func (ModelOutput) FreeformTags

func (o ModelOutput) FreeformTags() pulumi.MapOutput

(Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`

func (ModelOutput) IsLongTermSupported

func (o ModelOutput) IsLongTermSupported() pulumi.BoolOutput

Whether a model is supported long-term. Only applicable to base models.

func (ModelOutput) LifecycleDetails

func (o ModelOutput) LifecycleDetails() pulumi.StringOutput

A message describing the current state of the model in more detail that can provide actionable information.

func (ModelOutput) ModelMetrics

func (o ModelOutput) ModelMetrics() ModelModelMetricArrayOutput

Model metrics during the creation of a new model.

func (ModelOutput) State

func (o ModelOutput) State() pulumi.StringOutput

The lifecycle state of the model.

func (ModelOutput) SystemTags

func (o ModelOutput) SystemTags() pulumi.MapOutput

System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`

func (ModelOutput) TimeCreated

func (o ModelOutput) TimeCreated() pulumi.StringOutput

The date and time that the model was created in the format of an RFC3339 datetime string.

func (ModelOutput) TimeDeprecated

func (o ModelOutput) TimeDeprecated() pulumi.StringOutput

Corresponds to the time when the custom model and its associated foundation model will be deprecated.

func (ModelOutput) TimeUpdated

func (o ModelOutput) TimeUpdated() pulumi.StringOutput

The date and time that the model was updated in the format of an RFC3339 datetime string.

func (ModelOutput) ToModelOutput

func (o ModelOutput) ToModelOutput() ModelOutput

func (ModelOutput) ToModelOutputWithContext

func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput

func (ModelOutput) Type

func (o ModelOutput) Type() pulumi.StringOutput

The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.

func (ModelOutput) Vendor

func (o ModelOutput) Vendor() pulumi.StringOutput

(Updatable) The provider of the model.

func (ModelOutput) Version

func (o ModelOutput) Version() pulumi.StringOutput

(Updatable) The version of the model.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

type ModelState

type ModelState struct {
	// The OCID of the base model that's used for fine-tuning.
	BaseModelId pulumi.StringPtrInput
	// Describes what this model can be used for.
	Capabilities pulumi.StringArrayInput
	// (Updatable) The compartment OCID for fine-tuned models. For pretrained models, this value is null.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Operations.CostCenter": "42"}`
	DefinedTags pulumi.MapInput
	// (Updatable) An optional description of the model.
	Description pulumi.StringPtrInput
	// (Updatable) A user-friendly name.
	DisplayName pulumi.StringPtrInput
	// Details about fine-tuning a custom model.
	FineTuneDetails ModelFineTuneDetailsPtrInput
	// (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// Whether a model is supported long-term. Only applicable to base models.
	IsLongTermSupported pulumi.BoolPtrInput
	// A message describing the current state of the model in more detail that can provide actionable information.
	LifecycleDetails pulumi.StringPtrInput
	// Model metrics during the creation of a new model.
	ModelMetrics ModelModelMetricArrayInput
	// The lifecycle state of the model.
	State pulumi.StringPtrInput
	// System tags for this resource. Each key is predefined and scoped to a namespace.  Example: `{"orcl-cloud.free-tier-retained": "true"}`
	SystemTags pulumi.MapInput
	// The date and time that the model was created in the format of an RFC3339 datetime string.
	TimeCreated pulumi.StringPtrInput
	// Corresponds to the time when the custom model and its associated foundation model will be deprecated.
	TimeDeprecated pulumi.StringPtrInput
	// The date and time that the model was updated in the format of an RFC3339 datetime string.
	TimeUpdated pulumi.StringPtrInput
	// The model type indicating whether this is a pretrained/base model or a custom/fine-tuned model.
	Type pulumi.StringPtrInput
	// (Updatable) The provider of the model.
	Vendor pulumi.StringPtrInput
	// (Updatable) The version of the model.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Version pulumi.StringPtrInput
}

func (ModelState) ElementType

func (ModelState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL