AzureContextExtensions.GetSubscriptionByName 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.
Overloads
GetSubscriptionByName(IAzureContextContainer, String) | |
GetSubscriptionByName(IAzureContextContainer, String) |
GetSubscriptionByName(IAzureContextContainer, String)
public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription GetSubscriptionByName (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer container, string subscriptionName);
static member GetSubscriptionByName : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer * string -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription
<Extension()>
Public Function GetSubscriptionByName (container As IAzureContextContainer, subscriptionName As String) As IAzureSubscription
Parameters
- container
- IAzureContextContainer
- subscriptionName
- String
Returns
Applies to
GetSubscriptionByName(IAzureContextContainer, String)
public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription GetSubscriptionByName (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer container, string subscriptionName);
static member GetSubscriptionByName : Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer * string -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription
<Extension()>
Public Function GetSubscriptionByName (container As IAzureContextContainer, subscriptionName As String) As IAzureSubscription
Parameters
- container
- IAzureContextContainer
- subscriptionName
- String