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