AssignmentsOperationsExtensions.GetAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得藍圖指派。
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
取消語彙基元。