Condividi tramite


MySqlLogFile Class

Definition

Represents a log file.

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

Constructors

MySqlLogFile()

Initializes a new instance of MySqlLogFile.

Properties

CreatedOn

Creation timestamp of the log file.

Id

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

(Inherited from ResourceData)
LastModifiedOn

Last modified timestamp of the log file.

LogFileType

Type of the log file.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

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

(Inherited from ResourceData)
SizeInKB

Size of the log file.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Uri

The url to download the log file from.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<MySqlLogFile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MySqlLogFile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MySqlLogFile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MySqlLogFile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MySqlLogFile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to