SubscriptionExtensions.ToAzureSubscription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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