你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProvidersOperationsExtensions.GetAtTenantScopeAsync 方法

定义

获取租户级别的指定资源提供程序。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Provider> GetAtTenantScopeAsync (this Microsoft.Azure.Management.ResourceManager.IProvidersOperations operations, string resourceProviderNamespace, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAtTenantScopeAsync : Microsoft.Azure.Management.ResourceManager.IProvidersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Provider>
<Extension()>
Public Function GetAtTenantScopeAsync (operations As IProvidersOperations, resourceProviderNamespace As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Provider)

参数

operations
IProvidersOperations

此扩展方法的操作组。

resourceProviderNamespace
String

资源提供程序的命名空间。

expand
String

$expand查询参数。 例如,若要在响应中包含属性别名,请使用 $expand=resourceTypes/aliases。

cancellationToken
CancellationToken

取消标记。

返回

适用于