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

AssignmentsOperationsExtensions.GetAsync 方法

定义

获取蓝图分配。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment> GetAsync (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string resourceScope, string assignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Blueprint.IAssignmentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment>
<Extension()>
Public Function GetAsync (operations As IAssignmentsOperations, resourceScope As String, assignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Assignment)

参数

operations
IAssignmentsOperations

此扩展方法的操作组。

resourceScope
String

资源的范围。 有效作用域为:管理组 (格式:“/providers/Microsoft.Management/managementGroups/{managementGroup}”) ,订阅 (格式:“/subscriptions/{subscriptionId}”) 。

assignmentName
String

蓝图分配的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于