AzureRmProfile Class

Definition

[System.Serializable]
public class AzureRmProfile : IDisposable, Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer, Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
[System.Serializable]
public class AzureRmProfile : IDisposable, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer, Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
[<System.Serializable>]
type AzureRmProfile = class
    interface IAzureContextContainer
    interface IExtensibleModel
    interface IProfileOperations
    interface IDisposable
Public Class AzureRmProfile
Implements IAzureContextContainer, IDisposable, IProfileOperations
Inheritance
AzureRmProfile
Attributes
Implements

Constructors

AzureRmProfile()
AzureRmProfile(IFileProvider)
AzureRmProfile(String)
AzureRmProfile(String, Boolean)

Properties

Accounts
Contexts
DefaultContext
DefaultContextKey
Environments
EnvironmentTable
ExtendedProperties
ProfilePath
ShouldRefreshContextsFromCache
Subscriptions

Methods

Clear()
Dispose()
Dispose(Boolean)
HasEnvironment(String)
RefreshContextsFromCache()
Save()
Save(IFileProvider, Boolean)
Save(String)
Save(String, Boolean)
ToProfile()
ToString()
ToString(Boolean)
TryAddContext(IAzureContext, String)
TryAddContext(String, IAzureContext)
TryCopyProfile(AzureRmProfile)
TryFindContext(IAzureContext, String)
TryGetContextName(IAzureContext, String)
TryGetEnvironment(String, IAzureEnvironment)
TryRemoveContext(String)
TryRemoveEnvironment(String, IAzureEnvironment)
TryRenameContext(String, String)
TrySetContext(IAzureContext, String)
TrySetContext(String, IAzureContext)
TrySetDefaultContext(IAzureContext)
TrySetDefaultContext(String)
TrySetDefaultContext(String, IAzureContext)
TrySetEnvironment(IAzureEnvironment, IAzureEnvironment)

Extension Methods

GetAccount(IAzureContextContainer, String)
GetAccount(IAzureContextContainer, String)
GetEnvironment(IAzureContextContainer, String)
GetEnvironment(IAzureContextContainer, String)
GetSubscriptionById(IAzureContextContainer, Guid)
GetSubscriptionById(IAzureContextContainer, String)
GetSubscriptionById(IAzureContextContainer, Guid)
GetSubscriptionById(IAzureContextContainer, String)
GetSubscriptionByName(IAzureContextContainer, String)
GetSubscriptionByName(IAzureContextContainer, String)
HasAccount(IAzureContextContainer, String)
HasAccount(IAzureContextContainer, String)
HasEnvironment(IAzureContextContainer, String)
HasEnvironment(IAzureContextContainer, String)
HasSubscriptionId(IAzureContextContainer, Guid)
HasSubscriptionId(IAzureContextContainer, String)
HasSubscriptionId(IAzureContextContainer, Guid)
HasSubscriptionId(IAzureContextContainer, String)
HasSubscriptionName(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)
GetTokenCache(IAzureContextContainer)
HasTokenCache(IAzureContextContainer)
HasTokenCache(IAzureContextContainer)
SetTokenCache(IAzureContextContainer, IAzureTokenCache)
SetTokenCache(IAzureContextContainer, IAzureTokenCache)
PopulateExtensions(IExtensibleModel, PSObject)
SetContextWithCache(IAzureContextContainer, IAzureContext, String)

Applies to