다음을 통해 공유


DataMigrationProjectFileProperties Class

Definition

Base class for file properties.

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

Constructors

DataMigrationProjectFileProperties()

Initializes a new instance of DataMigrationProjectFileProperties.

Properties

Extension

Optional File extension. If submitted it should not have a leading period and must match the extension from filePath.

FilePath

Relative path of this file resource. This property can be set when creating or updating the file resource.

LastModifiedOn

Modification DateTime.

MediaType

File content type. This property can be modified to reflect the file content type.

Size

File size.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationProjectFileProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataMigrationProjectFileProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationProjectFileProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationProjectFileProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataMigrationProjectFileProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to