你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IAzureContextContainer Interface

Definition

public interface IAzureContextContainer : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IExtensibleModel
type IAzureContextContainer = interface
    interface IExtensibleModel
Public Interface IAzureContextContainer
Implements IExtensibleModel
Derived
Implements

Properties

Accounts
DefaultContext
Environments
ExtendedProperties (Inherited from IExtensibleModel)
Subscriptions

Methods

Clear()

Extension Methods

GetAccount(IAzureContextContainer, String)
GetEnvironment(IAzureContextContainer, String)
GetSubscriptionById(IAzureContextContainer, Guid)
GetSubscriptionById(IAzureContextContainer, String)
GetSubscriptionByName(IAzureContextContainer, String)
HasAccount(IAzureContextContainer, String)
HasEnvironment(IAzureContextContainer, String)
HasSubscriptionId(IAzureContextContainer, Guid)
HasSubscriptionId(IAzureContextContainer, String)
HasSubscriptionName(IAzureContextContainer, String)
CopyPropertiesFrom(IExtensibleModel, IExtensibleModel)
GetProperty(IExtensibleModel, String)
GetPropertyAsArray(IExtensibleModel, String)
IsPropertySet(IExtensibleModel, String)
SetOrAppendProperty(IExtensibleModel, String, String[])
SetProperty(IExtensibleModel, String, String[])
UpdateProperties(IExtensibleModel, IExtensibleModel)
GetTokenCache(IAzureContextContainer)
HasTokenCache(IAzureContextContainer)
SetTokenCache(IAzureContextContainer, IAzureTokenCache)
PopulateExtensions(IExtensibleModel, PSObject)

Populate the model extensions from a PSObject

SetContextWithCache(IAzureContextContainer, IAzureContext, String)

Applies to