/// <summary> /// Cancel a container migration job. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Resource group name. /// </param> /// <param name='farmId'> /// Farm Id. /// </param> /// <param name='operationId'> /// Operation Id. /// </param> public static MigrationResult BeginCancelMigration(this IContainersOperations operations, string resourceGroupName, string farmId, string operationId) { return(operations.BeginCancelMigrationAsync(resourceGroupName, farmId, operationId).GetAwaiter().GetResult()); }