Udostępnij za pośrednictwem


AzureContextExtensions.GetSubscriptionById Method

Definition

Overloads

GetSubscriptionById(IAzureContextContainer, Guid)
GetSubscriptionById(IAzureContextContainer, String)
GetSubscriptionById(IAzureContextContainer, Guid)
GetSubscriptionById(IAzureContextContainer, String)

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

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

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

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

id
String

Returns

Applies to