AzureContextExtensions.GetAccount Method

Definition

Overloads

GetAccount(IAzureContextContainer, String)

C#
public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount GetAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer container, string account);

Parameters

account
String

Returns

Applies to

Azure - PowerShell Commands Latest and Azure - PowerShell Commands 12 (LTS)
Product Versions
Azure - PowerShell Commands 12 (LTS), Latest

GetAccount(IAzureContextContainer, String)

C#
public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount GetAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer container, string account);

Parameters

account
String

Returns

Applies to

Azure RM - PowerShell Commands Latest
Product Versions
Azure RM - PowerShell Commands Latest