共用方式為


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