你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureStorageContext Class
Definition
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.
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) | |
PopulateExtensions(IExtensibleModel, PSObject) |
Populate the model extensions from a PSObject |
GetCloudStorageAccount(IStorageContext) |
Get a CloudStorageAccount client for the storage account represented by this context |