次の方法で共有


AuthenticationFactory.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
override this.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

Implements

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
override this.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

Implements

Applies to