Share via


AzureSession Class

Definition

public abstract class AzureSession : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSession
type AzureSession = class
    interface IAzureSession
    interface IExtensibleModel
Public MustInherit Class AzureSession
Implements IAzureSession
Inheritance
AzureSession
Derived
Implements

Constructors

Name Description
AzureSession()

Properties

Name Description
ARMContextSaveMode
ARMProfileDirectory
ARMProfileFile
AuthenticationFactory
AuthenticationLegacyTraceLevel
AuthenticationTraceListeners
AuthenticationTraceSourceLevel
ClientFactory
DataStore
ExtendedProperties
Instance
KeyStoreFile
OldProfileFile
OldProfileFileBackup
ProfileDirectory
ProfileFile
ResourceManagerContextFile
TokenCache
TokenCacheDirectory
TokenCacheFile

Methods

Name Description
ClearComponents()
Initialize(Func<IAzureSession>, Boolean)
Initialize(Func<IAzureSession>)
Modify(Action<IAzureSession>)
OnEvent(AzureSessionEventArgs)
RaiseContextClearedEvent()
RegisterComponent<T>(String, Func<T>, Boolean)
RegisterComponent<T>(String, Func<T>)
TryGetComponent<T>(String, T)
UnregisterComponent<T>(String)

Extension Methods

Name Description
CopyPropertiesFrom(IExtensibleModel, IExtensibleModel)
GetProperty(IExtensibleModel, String)
GetPropertyAsArray(IExtensibleModel, String)
IsPropertySet(IExtensibleModel, String)
PopulateExtensions(IExtensibleModel, PSObject)

Populate the model extensions from a PSObject

SetOrAppendProperty(IExtensibleModel, String, String[])
SetProperty(IExtensibleModel, String, String[])
UpdateProperties(IExtensibleModel, IExtensibleModel)

Applies to