PHP OSS for Azure API Reference

BlobContainerProperties
in package

FinalYes

Represents Azure Storage blob container properties data.

Table of Contents

Properties

$deletedOn  : DateTimeInterface|null
The time at which the container was soft-deleted.
$eTag  : ETag|null
$lastModified  : DateTimeInterface
$metadata  : array<string|int, mixed>
$remainingRetentionDays  : int|null
Days remaining before the soft-deleted container is permanently removed.

Methods

fromResponseHeaders()  : self
fromXml()  : self
__construct()  : mixed

Properties

$deletedOn read-only

The time at which the container was soft-deleted.

public DateTimeInterface|null $deletedOn = null

$remainingRetentionDays read-only

Days remaining before the soft-deleted container is permanently removed.

public int|null $remainingRetentionDays = null

Methods

fromResponseHeaders()

public static fromResponseHeaders(ResponseInterface $response) : self
Parameters
$response : ResponseInterface
Return values
self

fromXml()

public static fromXml(SimpleXMLElement $xml[, array<string, string> $metadata = [] ]) : self
Parameters
$xml : SimpleXMLElement
$metadata : array<string, string> = []
Return values
self

__construct()

private __construct(DateTimeInterface $lastModified, array<string, string> $metadata[, ETag|null $eTag = null ][, DateTimeInterface|null $deletedOn = null ][, int|null $remainingRetentionDays = null ]) : mixed
Parameters
$lastModified : DateTimeInterface
$metadata : array<string, string>
$eTag : ETag|null = null
$deletedOn : DateTimeInterface|null = null
$remainingRetentionDays : int|null = null
On this page

Search results