次の方法で共有


JobTargetGroupsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

ターゲット グループを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.Models.JobTargetGroupInner> CreateOrUpdateAsync(this Microsoft.Azure.Management.Sql.Fluent.IJobTargetGroupsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string targetGroupName, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Fluent.Models.JobTarget> members, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Sql.Fluent.IJobTargetGroupsOperations * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Fluent.Models.JobTarget> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.Models.JobTargetGroupInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IJobTargetGroupsOperations, resourceGroupName As String, serverName As String, jobAgentName As String, targetGroupName As String, members As IList(Of JobTarget), Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobTargetGroupInner)

パラメーター

operations
IJobTargetGroupsOperations

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

resourceGroupName
String

リソースが含まれているリソース グループの名前。 この値は、Azure リソース マネージャー API またはポータルから取得できます。

serverName
String

サーバーの名前。

jobAgentName
String

ジョブ エージェントの名前。

targetGroupName
String

ターゲット グループの名前。

members
IList<JobTarget>

ターゲット グループのメンバー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象