你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IHyakAuthenticationFactory.GetSubscriptionCloudCredentials Method

Definition

Overloads

GetSubscriptionCloudCredentials(IAzureContext)
GetSubscriptionCloudCredentials(IAzureContext, String)

GetSubscriptionCloudCredentials(IAzureContext)

public Microsoft.Azure.SubscriptionCloudCredentials GetSubscriptionCloudCredentials (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
abstract member GetSubscriptionCloudCredentials : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.SubscriptionCloudCredentials
Public Function GetSubscriptionCloudCredentials (context As IAzureContext) As SubscriptionCloudCredentials

Parameters

context
IAzureContext

Returns

Microsoft.Azure.SubscriptionCloudCredentials

Applies to

GetSubscriptionCloudCredentials(IAzureContext, String)

public Microsoft.Azure.SubscriptionCloudCredentials GetSubscriptionCloudCredentials (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, string targetEndpoint);
abstract member GetSubscriptionCloudCredentials : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * string -> Microsoft.Azure.SubscriptionCloudCredentials
Public Function GetSubscriptionCloudCredentials (context As IAzureContext, targetEndpoint As String) As SubscriptionCloudCredentials

Parameters

context
IAzureContext
targetEndpoint
String

Returns

Microsoft.Azure.SubscriptionCloudCredentials

Applies to