ContextModelExtensions.WithAccount(IAzureContext, IAzureAccount) Method

Definition

C#
public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext WithAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account);

Parameters

context
IAzureContext
account
IAzureAccount

Returns

Applies to

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