AzureStorageContext Class

Definition

Storage context

public class AzureStorageContext : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
type AzureStorageContext = class
    interface IStorageContext
    interface IExtensibleModel
Public Class AzureStorageContext
Implements IStorageContext
Inheritance
AzureStorageContext
Derived
Implements

Constructors

AzureStorageContext()

Proivides a private constructor for building empty instance which contains no account information.

AzureStorageContext(CloudStorageAccount, String, IAzureContext, DebugLogWriter)

Create a storage context usign cloud storage account

Properties

BlobEndPoint

Blob end point of the storage context

ConnectionString

Get the connection string for this storage account

Context

Self reference, it could enable New-AzStorageContext can be used in pipeline

EmptyContextInstance
EndPointSuffix

Endpoint suffix (everything after "table.", "blob." or "queue.")

ExtendedProperties

Custom propeties for the storage context

FileEndPoint

File end point of the storage context

Name

Name place holder, and force pipeline to ignore this property

QueueEndPoint

Queue end point of the storage context

ShareTokenIntent

Share File Request Intent, only for file oauth

StorageAccount

Storage account in context

StorageAccountName

Storage account name used in this context

TableEndPoint

Table end point of the storage context

TableStorageAccount

Storage account in context

Track2OauthToken

Storage Library Track2 Oauth credential

Extension Methods

CopyPropertiesFrom(IExtensibleModel, IExtensibleModel)
GetProperty(IExtensibleModel, String)
GetPropertyAsArray(IExtensibleModel, String)
IsPropertySet(IExtensibleModel, String)
SetOrAppendProperty(IExtensibleModel, String, String[])
SetProperty(IExtensibleModel, String, String[])
UpdateProperties(IExtensibleModel, IExtensibleModel)
GetCloudStorageAccount(IStorageContext)

Get a CloudStorageAccount client for the storage account represented by this context

PopulateExtensions(IExtensibleModel, PSObject)

Populate the model extensions from a PSObject

GetCloudStorageAccount(IStorageContext)

Get a CloudStorageAccount client for the storage account represented by this context

GetCloudStorageAccount(IStorageContext)

Get a CloudStorageAccount client for the storage account represented by this context

Applies to