次の方法で共有


JobTargetGroupsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

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

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

パラメーター

operations
IJobTargetGroupsOperations

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

resourceGroupName
String

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

serverName
String

サーバーの名前。

jobAgentName
String

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

targetGroupName
String

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

parameters
JobTargetGroup

ターゲット グループの要求された状態。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象