Partilhar via


UploadBatchServiceLogsContent Class

Definition

The Azure Batch service log files upload parameters for a Compute Node.

public class UploadBatchServiceLogsContent : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.UploadBatchServiceLogsContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.UploadBatchServiceLogsContent>
type UploadBatchServiceLogsContent = class
    interface IJsonModel<UploadBatchServiceLogsContent>
    interface IPersistableModel<UploadBatchServiceLogsContent>
Public Class UploadBatchServiceLogsContent
Implements IJsonModel(Of UploadBatchServiceLogsContent), IPersistableModel(Of UploadBatchServiceLogsContent)
Inheritance
UploadBatchServiceLogsContent
Implements

Constructors

UploadBatchServiceLogsContent(String, DateTimeOffset)

Initializes a new instance of UploadBatchServiceLogsContent.

Properties

ContainerUrl

The URL of the container within Azure Blob Storage to which to upload the Batch Service log file(s). If a user assigned managed identity is not being used, the URL must include a Shared Access Signature (SAS) granting write permissions to the container. The SAS duration must allow enough time for the upload to finish. The start time for SAS is optional and recommended to not be specified.

EndTime

The end of the time range from which to upload Batch Service log file(s). Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime.

IdentityReference

The reference to the user assigned identity to use to access Azure Blob Storage specified by containerUrl. The identity must have write access to the Azure Blob Storage container.

StartTime

The start of the time range from which to upload Batch Service log file(s). Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested.

Explicit Interface Implementations

IJsonModel<UploadBatchServiceLogsContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UploadBatchServiceLogsContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UploadBatchServiceLogsContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UploadBatchServiceLogsContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UploadBatchServiceLogsContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to