Language

ModelSourceData Class

Definition

A model source registered with an AI Manager. Describes an external model registry (e.g. Hugging Face) and the credentials the platform uses to pull artifacts from it.

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

Constructors

Name Description
ModelSourceData()

Initializes a new instance of ModelSourceData.

Properties

Name Description
ETag

If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Properties

The resource-specific properties for this resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

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

Explicit Interface Implementations

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

Applies to