共用方式為


AzureCredentials Constructors

Definition

Overloads

AzureCredentials(DeviceCredentialInformation, String, AzureEnvironment)
AzureCredentials(MSILoginInformation, AzureEnvironment, String)
AzureCredentials(ServicePrincipalLoginInformation, String, AzureEnvironment)
AzureCredentials(ServiceClientCredentials, ServiceClientCredentials, String, AzureEnvironment)

AzureCredentials(DeviceCredentialInformation, String, AzureEnvironment)

public AzureCredentials (Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.DeviceCredentialInformation deviceCredentialInformation, string tenantId, Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment environment);
new Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials : Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.DeviceCredentialInformation * string * Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment -> Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials
Public Sub New (deviceCredentialInformation As DeviceCredentialInformation, tenantId As String, environment As AzureEnvironment)

Parameters

deviceCredentialInformation
DeviceCredentialInformation
tenantId
String
environment
AzureEnvironment

Applies to

AzureCredentials(MSILoginInformation, AzureEnvironment, String)

public AzureCredentials (Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.MSILoginInformation msiLoginInformation, Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment environment, string tenantId = default);
new Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials : Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.MSILoginInformation * Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment * string -> Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials
Public Sub New (msiLoginInformation As MSILoginInformation, environment As AzureEnvironment, Optional tenantId As String = Nothing)

Parameters

msiLoginInformation
MSILoginInformation
environment
AzureEnvironment
tenantId
String

Applies to

AzureCredentials(ServicePrincipalLoginInformation, String, AzureEnvironment)

public AzureCredentials (Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.ServicePrincipalLoginInformation servicePrincipalLoginInformation, string tenantId, Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment environment);
new Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials : Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.ServicePrincipalLoginInformation * string * Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment -> Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials
Public Sub New (servicePrincipalLoginInformation As ServicePrincipalLoginInformation, tenantId As String, environment As AzureEnvironment)

Parameters

servicePrincipalLoginInformation
ServicePrincipalLoginInformation
tenantId
String
environment
AzureEnvironment

Applies to

AzureCredentials(ServiceClientCredentials, ServiceClientCredentials, String, AzureEnvironment)

public AzureCredentials (Microsoft.Rest.ServiceClientCredentials armCredentials, Microsoft.Rest.ServiceClientCredentials graphCredentials, string tenantId, Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment environment);
new Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials : Microsoft.Rest.ServiceClientCredentials * Microsoft.Rest.ServiceClientCredentials * string * Microsoft.Azure.Management.ResourceManager.Fluent.AzureEnvironment -> Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials
Public Sub New (armCredentials As ServiceClientCredentials, graphCredentials As ServiceClientCredentials, tenantId As String, environment As AzureEnvironment)

Parameters

armCredentials
ServiceClientCredentials
graphCredentials
ServiceClientCredentials
tenantId
String
environment
AzureEnvironment

Applies to