Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AzureStorageBlob Class

Definition

Namespace:
Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel
Assembly:
Microsoft.Azure.PowerShell.Cmdlets.Storage.dll
Assembly:
Microsoft.WindowsAzure.Commands.Storage.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Azure storage blob object

public class AzureStorageBlob : Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBase
type AzureStorageBlob = class
 inherit AzureStorageBase
Public Class AzureStorageBlob
Inherits AzureStorageBase
Inheritance
AzureStorageBlob

Constructors

Name Description
AzureStorageBlob(BlobBaseClient, AzureStorageContext, BlobClientOptions, BlobItem)

Azure storage blob constructor

AzureStorageBlob(BlobBaseClient, AzureStorageContext, BlobProperties, BlobClientOptions)
AzureStorageBlob(CloudBlob, AzureStorageContext, BlobClientOptions)

Azure storage blob constructor

AzureStorageBlob(CloudBlob)
AzureStorageBlob(TaggedBlobItem, AzureStorageContext, String, BlobClientOptions, Boolean)

Azure storage blob constructor

Properties

Name Description
AccessTier

Blob AccessTier..

BlobBaseClient

XSCL Track2 Blob Client, used to run blob APIs

BlobClient

XSCL Track2 Blob Client, used to run blob APIs, this property should be removed in the future major release, and replace with BlobBaseClient

BlobProperties

XSCL Track2 Blob properties, will retrieve the properties on server and return to user

BlobType

Azure storage blob type

ContentType

Blob content type

Context (Inherited from AzureStorageBase)
ContinuationToken

Blob continuation token

ICloudBlob

CloudBlob object

IsDeleted

Blob IsDeleted

IsLatestVersion

Blob IsCurrentVersion..

LastModified

Blob last modified time

Length

Blob length

ListBlobProperties

XSCL Track2 File List properties

Name (Inherited from AzureStorageBase)
RemainingDaysBeforePermanentDelete

Blob IsDeleted

SnapshotTime

Blob snapshot time

TagCount

Blob TagCount.

Tags

Blob Tags

VersionId

Blob VersionId.

Methods

Name Description
FetchAttributes()
GetTrack1Blob(BlobBaseClient, StorageCredentials, Nullable<BlobType>)

Get Track1 Blob Object Will return null if it's a Blob version, since Track1 not support blob version

GetTrack2BlobClient(BlobBaseClient, AzureStorageContext, BlobClientOptions)
GetTrack2BlobClient(CloudBlob, AzureStorageContext, BlobClientOptions)

Applies to