OpenAIModelResource Properties

ClassProperties4 members
Represents an OpenAI Model resource.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the OpenAI Model resource.
public ReferenceExpression ConnectionStringExpression { get; }
Gets or sets the model name, e.g., "gpt-4o-mini".
public string Model { get; set; }
Parent OpenAI account resource from which settings (like API key) can be shared.
public OpenAIResource Parent { get; }
ResourceTypeDisplayNameSection titled ResourceTypeDisplayNameoverridestring
Gets the default human-readable name of this resource's type.
public override string ResourceTypeDisplayName { get; }
Override this property to identify the service, such as Redis or PostgreSQL Server, independently of its technical resource type. The default is the resource type. This label does not change the resource name, service discovery, or OpenTelemetry identity. Use ResourceBuilderExtensions.WithResourceTypeDisplayName to override the label for an instance.