你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Azure.Authenticate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Authenticate(RestClient, String) | |
Authenticate(String) | |
Authenticate(AzureCredentials) |
Authenticate(RestClient, String)
public static Microsoft.Azure.Management.Fluent.Azure.IAuthenticated Authenticate (Microsoft.Azure.Management.ResourceManager.Fluent.Core.RestClient restClient, string tenantId);
static member Authenticate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.RestClient * string -> Microsoft.Azure.Management.Fluent.Azure.IAuthenticated
Public Shared Function Authenticate (restClient As RestClient, tenantId As String) As Azure.IAuthenticated
参数
- restClient
- RestClient
- tenantId
- String
返回
适用于
Authenticate(String)
public static Microsoft.Azure.Management.Fluent.Azure.IAuthenticated Authenticate (string authFile);
static member Authenticate : string -> Microsoft.Azure.Management.Fluent.Azure.IAuthenticated
Public Shared Function Authenticate (authFile As String) As Azure.IAuthenticated
参数
- authFile
- String
返回
适用于
Authenticate(AzureCredentials)
public static Microsoft.Azure.Management.Fluent.Azure.IAuthenticated Authenticate (Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials azureCredentials);
static member Authenticate : Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials -> Microsoft.Azure.Management.Fluent.Azure.IAuthenticated
Public Shared Function Authenticate (azureCredentials As AzureCredentials) As Azure.IAuthenticated
参数
- azureCredentials
- AzureCredentials