Language

ModelSourceProperties Class

Definition

Model source properties.

public class ModelSourceProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerServiceAIManager.Models.ModelSourceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerServiceAIManager.Models.ModelSourceProperties>
type ModelSourceProperties = class
    interface IJsonModel<ModelSourceProperties>
    interface IPersistableModel<ModelSourceProperties>
Public Class ModelSourceProperties
Implements IJsonModel(Of ModelSourceProperties), IPersistableModel(Of ModelSourceProperties)
Inheritance
ModelSourceProperties
Implements

Constructors

Name Description
ModelSourceProperties(ModelSourceType)

Initializes a new instance of ModelSourceProperties.

Properties

Name Description
Credential

Credential the platform uses to authenticate to the source. Optional for public sources (e.g. ungated Hugging Face models).

Description

An optional, free-form description of the source.

MicrosoftFoundryProjectResourceId

The ARM resource id of the Foundry project. The scope on which the referenced managed identity must hold the Foundry User role. The account and endpoint host are derived from this id.

ProvisioningState

The status of the last operation.

SourceType

Model source type. Constrains the legal authentication kinds. Immutable after creation.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ModelSourceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ModelSourceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ModelSourceProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ModelSourceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ModelSourceProperties>.Write(ModelReaderWriterOptions)

Applies to