Share via


LogFile Class

Represents a log file.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

LogFile(*, size_in_kb: int | None = None, type_properties_type: str | None = None, url: str | None = None, **kwargs)

Parameters

Name Description
size_in_kb
Required
<xref:long>

Size of the log file.

type_properties_type
Required
str

Type of the log file.

url
Required
str

The url to download the log file from.

Keyword-Only Parameters

Name Description
size_in_kb
Default value: None
type_properties_type
Default value: None
url
Default value: None

Variables

Name Description
id
str

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

name
str

The name of the resource.

type
str

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

created_time

Creation timestamp of the log file.

last_modified_time

Last modified timestamp of the log file.