AuthenticationFactory.GetSubscriptionCloudCredentials 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
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