Bagikan melalui


AzureContext Class

Definition

[System.Serializable]
public class AzureContext : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext
[<System.Serializable>]
type AzureContext = class
    interface IAzureContext
    interface IExtensibleModel
Public Class AzureContext
Implements IAzureContext
Inheritance
AzureContext
Attributes
Implements

Constructors

AzureContext()
AzureContext(IAzureAccount, IAzureEnvironment, IAzureTenant)
AzureContext(IAzureSubscription, IAzureAccount, IAzureEnvironment, IAzureTenant, Byte[])
AzureContext(IAzureSubscription, IAzureAccount, IAzureEnvironment, IAzureTenant)
AzureContext(IAzureSubscription, IAzureAccount, IAzureEnvironment)

Properties

Account
Environment
ExtendedProperties
Subscription
Tenant
TokenCache
VersionProfile

Extension Methods

DeepCopy(IAzureContext)
Update(IAzureContext, IAzureContext)
CopyPropertiesFrom(IExtensibleModel, IExtensibleModel)
GetProperty(IExtensibleModel, String)
GetPropertyAsArray(IExtensibleModel, String)
IsPropertySet(IExtensibleModel, String)
SetOrAppendProperty(IExtensibleModel, String, String[])
SetProperty(IExtensibleModel, String, String[])
UpdateProperties(IExtensibleModel, IExtensibleModel)
CopyFrom(IAzureContext, IAzureContext)
WithAccount(IAzureContext, IAzureAccount)
WithSubscription(IAzureContext, IAzureSubscription)
WithTenant(IAzureContext, IAzureTenant)
GetCloudStorageAccount(IAzureContext, IStorageServiceProvider)

Get a CloudStorageAccount client for the current storage service using the given storage service provider

GetCurrentStorageAccount(IAzureContext, IStorageServiceProvider)

Get the current storage account.

PopulateExtensions(IExtensibleModel, PSObject)

Populate the model extensions from a PSObject

GetCurrentStorageAccountName(IAzureContext)
GetCloudStorageAccount(IAzureContext, IStorageServiceProvider)

Get a CloudStorageAccount client for the current storage service using the given storage service provider

GetCurrentStorageAccount(IAzureContext, IStorageServiceProvider)

Get the current storage account.

GetCloudStorageAccount(IAzureContext, IStorageServiceProvider)

Get a CloudStorageAccount client for the current storage service using the given storage service provider

GetCurrentStorageAccount(IAzureContext, IStorageServiceProvider)

Get the current storage account.

GetCurrentStorageAccountConnectionString(IAzureContext)
SetCurrentStorageAccount(IAzureContext, IStorageContext)
SetCurrentStorageAccount(IAzureContext, IStorageContextProvider)
SetCurrentStorageAccount(IAzureContext, String)

Applies to