你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureCredentials 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- deviceCredentialInformation
- DeviceCredentialInformation
- tenantId
- String
- environment
- AzureEnvironment
适用于
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)
参数
- msiLoginInformation
- MSILoginInformation
- environment
- AzureEnvironment
- tenantId
- String
适用于
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)
参数
- servicePrincipalLoginInformation
- ServicePrincipalLoginInformation
- tenantId
- String
- environment
- AzureEnvironment
适用于
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)
参数
- armCredentials
- ServiceClientCredentials
- graphCredentials
- ServiceClientCredentials
- tenantId
- String
- environment
- AzureEnvironment