次の方法で共有


SubscriptionAssignmentsExtensions.CreateOrUpdateInSubscriptionAsync メソッド

定義

ブループリントの割り当てを作成または更新します。

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

パラメーター

operations
IAssignmentsOperations

この拡張メソッドの操作グループ。

subscriptionId
String

ブループリントを割り当てる azure subscriptionId。

assignmentName
String

割り当ての名前。

assignment
Assignment

割り当てオブジェクトを保存します。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象