Share via


SubscriptionExtensions.ToAzureSubscription Method

Definition

public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureSubscription ToAzureSubscription (this Microsoft.Azure.Internal.Subscriptions.Models.Subscription other, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, string retrievedByTenant);
static member ToAzureSubscription : Microsoft.Azure.Internal.Subscriptions.Models.Subscription * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * string -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureSubscription
<Extension()>
Public Function ToAzureSubscription (other As Subscription, account As IAzureAccount, environment As IAzureEnvironment, retrievedByTenant As String) As AzureSubscription

Parameters

other
Subscription
account
IAzureAccount
environment
IAzureEnvironment
retrievedByTenant
String

Returns

Applies to